Category Assembly, Object ProAsmcomppath

Function ProAsmcomppathMdlGet


Description
Retrieves the model specified by the component path.
Replacement in Object TOOLKIT: pfcComponentPath::Leaf
Synopsis
#include <ProAsmcomppath.h>
ProErrorProAsmcomppathMdlGet(
ProAsmcomppath* p_path
/* (In)
The component path
*/
ProMdl* p_model
/* (Out)
The model found at the end of the component path
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the model.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_GENERAL_ERRORThe specified component path was wrong, or contained missing members.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Techniques of Conversion and Mixing
  2. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  3. Assembly: Basic Assembly Access: Properties Related to Component Purpose
  4. Core: Models and Model Items: Visiting Displayed Entities

Sample Code References:

  1. pt_examples ( TestAsm.c )
  2. pt_examples ( TestGeom.c )
  3. pt_examples ( UtilGeom.c )
  4. pt_examples ( TestDrawTbl.c )
  5. pt_examples ( TestRule.c )
  6. pt_examples ( TestSimpRep.c )
  7. pt_examples ( TestSimpRep.c )
  8. pt_examples ( UtilCollectDtmpnt.c )
  9. pt_examples ( UtilTree.c )
  10. pt_userguide ( UgAsmcompConstraint.c )
  11. pt_userguide ( UgAsmcompTransfGet.c )
  12. pt_userguide ( UgSimprepInfo.c )