API 文件集 > Sheetmetal > Object ProSmt > Function ProSmtMdlIsFlatStateInstance
Function ProSmtMdlIsFlatStateInstance
Description
Checks if the model is a sheetmetal flat state instance model
Synopsis
#include <ProSheetmetal.h>
ProSmtMdlIsFlatStateInstance
(
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
The function is successful
The input argument is invalid.
The model is not of sheetmetal type
這是否有幫助?