API Documentation > Manufacturing > Object ProTool > Function ProToolModelMdlnameGet
Function ProToolModelMdlnameGet
Description
Returns the model associated to the tool, if the tool references a model.Note: This function does not support Multi-CAD models as solid tool models in the tool manager. This will be supported in a future release.
Synopsis
#include <ProTool.h>
ProToolModelMdlnameGet
(
const ProTool* p_tool_handle
/* (In)
The tool
*/
ProFamilyMdlName r_model_name
/* (Out)
The name of the model associated to the tool. Free this argument using ProWstringFree.
*/
ProMdlfileType* r_model_type
/* (Out)
The model type
*/
)
Returns
The function successfully returned the tool model.
One or more of the input arguments are invalid.
The tool specified by p_tool_handle was not found.
User Guide References
Was this helpful?