Category Manufacturing, Object ProTool

Function ProToolModelGet


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProToolModelMdlnameGet
Description
Note: This function is deprecated Use ProToolModelMdlnameGet instead. This function does not support Multi-CAD models as solid tool models in the tool manager. This will be supported in a future release. Returns the model associated to the tool, if the tool references a model.
Synopsis
#include <ProTool.h>
ProErrorProToolModelGet(
ProTool* p_tool_handle
/* (In)
The tool
*/
ProFamilyName r_model_name
/* (Out)
The name of the model associated to the tool
*/
ProMdlType* r_model_type
/* (Out)
The model type
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the tool model.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_LINE_TOO_LONGThe name of model associated to the tool is longer than PRO_FAMILY_NAME_SIZE

Manual References:

  1. Technical Summary of Changes for Creo 4.0 F000: Manufacturing