Model arguments
Description
Input arguments to initialize the model handle to be operated.
In this context, a ‘model’ is an overarching term for either a solid (part, assembly, mfg...) or a drawing.
If these arguments are not provided by the calling application, the model handle will be attempted to be initialized using the model that is attached to the active Creo window. Make sure that the model is retrieved into session and displayed. Its window has to be activated.
Synopsis
Input arguments
Label
Value Type
Value
model_name
wchar_t*
Name of the model without file extension. Example: For model lever007.prt pass “lever007”.
model_type
wchar_t*
Type of the model:
  • DRW
  • ASM
  • PRT