Category Sheetmetal, Object ProSmt

Function ProSmtMdlIsFlatStateInstance


Description
Checks if the model is a sheetmetal flat state instance model
Synopsis
#include <ProSheetmetal.h>
ProErrorProSmtMdlIsFlatStateInstance(
ProMdl smt_model
/* (In)
model to be checked, if it is a flat state instance
*/
ProBoolean* is_instance_model
/* (Out)
PRO_B_TRUE if smt_model is a sheetmetal flat instance model, PRO_B_FALSE otherwise
*/
ProMdl* generic_model
/* (Out)
handle to the generic model, if is_instance_model is PRO_B_TRUE
*/
)
Returns
PRO_TK_NO_ERRORThe function is successful
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_BAD_CONTEXTThe model is not of sheetmetal type

Manual References:

  1. Production Applications: Sheetmetal: Geometry Analysis
  2. Production Applications: Sheetmetal: Geometry Analysis