Category Creo Parametric fundamentals, Object ProMdl

Function ProMdlSubtypeGet


Description
Returns the subtype of a model
Synopsis
#include <ProMdl.h>
ProErrorProMdlSubtypeGet(
ProMdl model
/* (In)
A model pointer whose subtype needs to returned
*/
ProMdlsubtype* subtype
/* (Out)
The type of model. If the function fails, this is set to PROMDLSTYPE_NONE.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the type
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_BAD_CONTEXTthe model has no subtype

Manual References:

  1. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  2. Core: Models and Model Items: Identifying Models
  3. Core: Models and Model Items: Identifying Models

Sample Code References:

  1. pt_examples ( TestMain.c )
  2. pt_examples ( TestMain.c )
  3. pt_examples ( TestMain.c )
  4. pt_userguide ( UgSmtExtendWallCreate.c )
  5. pt_userguide ( UgSmtFlatWallCreate.c )
  6. pt_userguide ( UgSmtFlgWallCreate.c )