Category Manufacturing, Object ProTool

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>
ProErrorProToolModelMdlnameGet(
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
PRO_TK_NO_ERRORThe function successfully returned the tool model.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_E_NOT_FOUNDThe tool specified by p_tool_handle was not found.

Manual References:

  1. Production Applications: Manufacturing: Visiting Manufacturing Tools
  2. Production Applications: Manufacturing: Visiting Manufacturing Tools