Category Sketches and sections, Object ProSection

Function ProSectionEntityGet


Description
Retrieves a user entity from the specified section.
Replacement in Object TOOLKIT: wfcSection::GetEntity
wfcSection::ListSectionEntities
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityGet(
ProSection section
/* (In)
The section
*/
int ent_id
/* (In)
The assigned identifier of the entity
*/
Pro2dEntdef** POutEnt
/* (Out)
A pointer to a static copy of the entity
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the entity.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
PRO_TK_OUT_OF_MEMORYThere was a memory error.
PRO_TK_LINE_TOO_LONGIn the case of Pro2dTextdef, the text string exceeded the internal limitation of Creo Parametric.
PRO_TK_INVALID_NAMEIn the case of Pro2dTextdef, the text font name violated the Pro2dTextdef conventions.
PRO_TK_INVALID_TYPEThis Creo Parametric entity type is not available in Creo Parametric TOOLKIT environment.
PRO_TK_GENERAL_ERRORAn unexpected problem occured.

Sample Code References:

  1. pt_examples ( TestAnalysisSrfCurve.c )
  2. pt_examples ( SketchFeatureCreate.c )
  3. pt_examples ( UtilSect.c )
  4. pt_examples ( UtilSect.c )
  5. pt_examples ( UtilSect.c )
  6. pt_examples ( UtilSect.c )
  7. pt_examples ( UtilSect.c )
  8. pt_examples ( UtilSect.c )
  9. pt_examples ( UtilSect.c )
  10. pt_examples ( UtilSect.c )
  11. pt_examples ( UtilSect.c )
  12. pt_examples ( UtilSect.c )
  13. pt_examples ( UtilSect.c )
  14. pt_examples ( UtilSect.c )
  15. pt_examples ( UtilSect.c )
  16. pt_examples ( UtilSect.c )
  17. pt_examples ( UtilSect.c )
  18. pt_examples ( UtilSect.c )
  19. pt_examples ( UtilSect.c )
  20. pt_geardesign ( GearDesignUtils.c )
  21. pt_geardesign ( GearDesignUtils.c )
  22. pt_geardesign ( GearDesignUtils.c )
  23. pt_geardesign ( GearDesignUtils.c )
  24. pt_geardesign ( GearDesignUtils.c )
  25. pt_userguide ( Ug3DSectSplineDim.c )
  26. pt_userguide ( Ug3DSectSplineDim.c )
  27. pt_userguide ( Ug3DSection.c )
  28. pt_userguide ( Ug3DSection.c )
  29. pt_userguide ( Ug3DSection.c )
  30. pt_userguide ( Ug3DSection.c )
  31. pt_userguide ( Ug3DSection.c )
  32. pt_userguide ( Ug3DSection.c )
  33. pt_userguide ( Ug3DSection.c )
  34. pt_userguide ( Ug3DSection.c )
  35. pt_userguide ( Ug3DSection.c )