Category Assembly, Object ProAsmcomp

Function ProAsmcompMdlGet


Description
Retrieves the component model, given a component feature.
Replacement in Object TOOLKIT: pfcComponentFeat::ModelDescr
Synopsis
#include <ProAsmcomp.h>
ProErrorProAsmcompMdlGet(
ProAsmcomp* p_feat_handle
/* (In)
The handle to the component feature
*/
ProMdl* p_mdl_handle
/* (Out)
The model handle to be initialized
*/
)
Returns
PRO_TK_NO_ERRORThe argument corresponds to a valid component feature with a valid component model.
PRO_TK_BAD_INPUTSThe specified feature is not a valid component feature.
PRO_TK_E_NOT_FOUNDAssembly component model is not a solid or is not in memory.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  3. Assembly: Basic Assembly Access: Properties Related to Component Purpose

Sample Code References:

  1. pt_autoaxis ( AutoAxis.c )
  2. pt_autoaxis ( AutoAxis.c )
  3. pt_examples ( TestAsm.c )
  4. pt_examples ( TestGeom.c )
  5. pt_examples ( TestSetup.c )
  6. pt_examples ( UtilCollectDtmpnt.c )
  7. pt_examples ( UtilVisit.c )
  8. pt_examples ( UtilVisit.c )
  9. pt_mfg_proctable ( PTMfgProcTable.c )
  10. pt_userguide ( UgAsmCompVisit.c )
  11. pt_userguide ( UgMfgMillSeqCreate.c )
  12. pt_userguide ( UgXsecList.c )