Description | ||||||||||||||
Looks up the full path to the texture, decal, or bump map file indicated. If the texture is embedded inside a Creo Parametric model, instead of being loaded from the texture path, this function will write a temporary copy of the file if "create_temp_file" is set to true. | ||||||||||||||
Replacement in Object TOOLKIT: | wfcWSession::IsTextureFileEmbedded | |||||||||||||
wfcWSession::GetTextureFilePath | ||||||||||||||
Synopsis | ||||||||||||||
#include <ProUtil.h> | ||||||||||||||
ProError | ProTexturePathGet | ( | ||||||||||||
ProName texture_name | ||||||||||||||
/* (In) | ||||||||||||||
The texture file name. | ||||||||||||||
*/ | ||||||||||||||
ProBoolean create_temp_file | ||||||||||||||
/* (In) | ||||||||||||||
PRO_B_TRUE to have Creo Parametric write a temporary copy of the texture file if its is embedded in a model. PRO_B_FALSE to skip writing the file. | ||||||||||||||
*/ | ||||||||||||||
ProBoolean* p_was_embedded | ||||||||||||||
/* (Out) | ||||||||||||||
PRO_B_TRUE if the texture file was embedded. If create_temp_file is also true a copy of the file was written. The user application is responsible for deleting the copy. Can be NULL. | ||||||||||||||
*/ | ||||||||||||||
ProPath texture_path | ||||||||||||||
/* (Out) | ||||||||||||||
The full path to the texture file. Can be NULL if create_temp_file is PRO_B_FALSE. | ||||||||||||||
*/ | ||||||||||||||
) | ||||||||||||||
Returns | ||||||||||||||
|