Category Creo Parametric fundamentals, Object ProModelitem

Function ProModelitemNameGet


Description
Retrieves the name of the specified model item.

The valid types (p_item->type) are as follows:

If you pass any other type, the function returns PRO_TK_BAD_INPUTS.

Replacement in Object TOOLKIT: pfcModelItem::GetName
Synopsis
#include <ProModelitem.h>
ProErrorProModelitemNameGet(
ProModelitem* p_item
/* (In)
The model item
*/
ProName name
/* (Out)
The name
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the name.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_E_NOT_FOUNDThe specified item does not have a name.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. Assembly: Data Sharing Features: Accessing Properties of Variant Features
  3. Fundamentals: Object Handles
  4. Core: 3D Geometry: Geometry Objects
  5. Core: Models and Model Items: Model Items
  6. Core: Models and Model Items: Model Items
  7. Core: Models and Model Items: Example 2: Renaming a Selected Surface
  8. Core: Solids, Parts, and Materials: Material Objects
  9. Annotations: Annotation Features and Annotations: Visiting Annotation Features
  10. Annotations: Annotation Features and Annotations: The ProDimension Object
  11. Annotations: Annotation Features and Annotations: Notes

Sample Code References:

  1. pt_af_examples ( PTMfgTemplateBOM.c )
  2. pt_af_examples ( PTMfgTemplateBOM.c )
  3. pt_examples ( TestAsm.c )
  4. pt_examples ( TestProcstep.c )
  5. pt_examples ( TestProcstep.c )
  6. pt_examples ( TestGeom.c )
  7. pt_examples ( TestGeom.c )
  8. pt_examples ( TestGeom.c )
  9. pt_examples ( TestGeom.c )
  10. pt_examples ( TestGeom.c )
  11. pt_examples ( TestGeom.c )
  12. pt_examples ( TestXsec.c )
  13. pt_examples ( TestLayer.c )
  14. pt_examples ( TestMfgOper.c )
  15. pt_examples ( UtilMfgNew.c )
  16. pt_examples ( UtilMfgNew.c )
  17. pt_examples ( UtilRoute.c )
  18. pt_examples ( UtilRoute.c )
  19. pt_examples ( TestMisc.c )
  20. pt_examples ( TestRelation.c )
  21. pt_examples ( TestSetup.c )
  22. pt_examples ( TestSetup.c )
  23. pt_examples ( TestSetup.c )
  24. pt_examples ( TestCollect.c )
  25. pt_examples ( TestCollect.c )
  26. pt_examples ( TestCollect.c )
  27. pt_examples ( TestCollect.c )
  28. pt_examples ( TestCollect.c )
  29. pt_examples ( TestCollect.c )
  30. pt_examples ( TestCollect.c )
  31. pt_examples ( TestCollect.c )
  32. pt_examples ( UtilVisit.c )
  33. pt_examples ( UtilVisit.c )
  34. pt_geardesign ( GearDesignUtils.c )
  35. pt_mech_examples ( PTMechExItemInfo.c )
  36. pt_userguide ( UgDtlnoteExamples.c )
  37. pt_userguide ( UgDwgtableExamples.c )
  38. pt_userguide ( UgDwgtableExamples.c )
  39. pt_userguide ( UgCreoSweepCreate.c )
  40. pt_userguide ( UgFundVisit.c )
  41. pt_userguide ( UgGeomSurfRename.c )
  42. pt_userguide ( UgGtolCreate.c )
  43. pt_userguide ( UgMfgMillSeqCreate.c )
  44. pt_userguide ( UgMfgMillSeqCreate.c )
  45. pt_userguide ( UgMfgMillSeqCreate.c )
  46. pt_userguide ( UgMfgMillSeqCreate.c )
  47. pt_userguide ( UgMfgMillSeqCreate.c )
  48. pt_userguide ( UtilCsys.c )
  49. pt_userguide ( UgXsecMassProps.c )