Category Sketches and sections, Object ProSection

Function ProSectionEntityAdd


Description
Adds an entity to the specified section.
Replacement in Object TOOLKIT: wfcSection::AddEntity
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityAdd(
ProSection section
/* (In)
The section
*/
Pro2dEntdef* entity2d
/* (In)
The entity to add to the section
*/
int* r_ent_id
/* (Out)
The assigned identifier of the entity
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added 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 a Pro2dTextdef being added, the text string exceeded the internal limitation of Creo Parametric.
PRO_TK_INVALID_NAMEIn the case of a Pro2dTextdef being added, the text font is not supported by Creo Parametric.
PRO_TK_UNSUPPORTEDThe function does not support entity type PRO_2D_COMPOSITE_CURVE.

Manual References:

  1. Element Trees: Sections: Adding Section Entities
  2. Element Trees: Sections: Adding Section Entities

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( TestExtrude.c )
  3. pt_examples ( TestExtrude.c )
  4. pt_examples ( TestSect.c )
  5. pt_examples ( TestSect.c )
  6. pt_examples ( TestSect.c )
  7. pt_examples ( TestSect.c )
  8. pt_examples ( TestSect.c )
  9. pt_examples ( TestSect.c )
  10. pt_examples ( TestSect.c )
  11. pt_examples ( TestSect.c )
  12. pt_examples ( TestSect.c )
  13. pt_examples ( TestSect.c )
  14. pt_examples ( TestSect.c )
  15. pt_examples ( TestSect.c )
  16. pt_examples ( TestSect.c )
  17. pt_examples ( TestSect.c )
  18. pt_examples ( TestSect.c )
  19. pt_examples ( TestSect.c )
  20. pt_examples ( TestSect.c )
  21. pt_examples ( TestSect.c )
  22. pt_examples ( TestSect.c )
  23. pt_examples ( TestSect.c )
  24. pt_examples ( TestSect.c )
  25. pt_examples ( TestSect.c )
  26. pt_examples ( TestSect.c )
  27. pt_examples ( TestSect.c )
  28. pt_examples ( TestSect.c )
  29. pt_examples ( TestSect.c )
  30. pt_examples ( TestSect.c )
  31. pt_examples ( TestSect.c )
  32. pt_examples ( TestSect.c )
  33. pt_examples ( TestSect.c )
  34. pt_examples ( TestSect.c )
  35. pt_examples ( TestSect.c )
  36. pt_examples ( UtilSect.c )
  37. pt_examples ( UtilSect.c )
  38. pt_examples ( UtilSect.c )
  39. pt_examples ( UtilSect.c )
  40. pt_examples ( UtilSect.c )
  41. pt_examples ( UtilSect.c )
  42. pt_examples ( UtilSect.c )
  43. pt_examples ( UtilSect.c )
  44. pt_examples ( UtilSect.c )
  45. pt_geardesign ( GearDesignUtils.c )
  46. pt_geardesign ( GearDesignUtils.c )
  47. pt_geardesign ( GearDesignUtils.c )
  48. pt_geardesign ( GearDesignUtils.c )
  49. pt_geardesign ( GearDesignUtils.c )
  50. pt_geardesign ( GearDesignUtils.c )
  51. pt_geardesign ( GearDesignUtils.c )
  52. pt_geardesign ( GearDesignUtils.c )
  53. pt_geardesign ( GearDesignUtils.c )
  54. pt_userguide ( Ug3DSectSplineDim.c )
  55. pt_userguide ( Ug3DSection.c )
  56. pt_userguide ( Ug3DSection.c )
  57. pt_userguide ( Ug3DSection.c )
  58. pt_userguide ( Ug3DSection.c )
  59. pt_userguide ( Ug3DSection.c )
  60. pt_userguide ( Ug3DSection.c )
  61. pt_userguide ( Ug3DSection.c )
  62. pt_userguide ( Ug3DSection.c )
  63. pt_userguide ( Ug3DSection.c )
  64. pt_userguide ( Ug3DSection.c )
  65. pt_userguide ( Ug3DSection.c )
  66. pt_userguide ( Ug3DSection.c )
  67. pt_userguide ( Ug3DSection.c )
  68. pt_userguide ( Ug3DSection.c )
  69. pt_userguide ( UgCreoSweepCreate.c )
  70. pt_userguide ( UgCreoSweepCreate.c )
  71. pt_userguide ( UgCreoSweepCreate.c )
  72. pt_userguide ( UgCreoSweepCreate.c )
  73. pt_userguide ( UgCreoSweepCreate.c )
  74. pt_userguide ( UgCreoSweepCreate.c )
  75. pt_userguide ( UgSectModelCreate.c )
  76. pt_userguide ( UgSectModelCreate.c )
  77. pt_userguide ( UgSectModelCreate.c )
  78. pt_userguide ( UgSectModelCreate.c )
  79. pt_userguide ( UgSectModelCreate.c )
  80. pt_userguide ( UgSectModelCreate.c )
  81. pt_userguide ( UgSktFirstFeatureCreate.c )
  82. pt_userguide ( UgSktFirstFeatureCreate.c )
  83. pt_userguide ( UgSktFirstFeatureCreate.c )
  84. pt_userguide ( UgSktFirstFeatureCreate.c )
  85. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  86. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  87. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  88. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  89. pt_userguide ( UgSktFirstFeatureRevCreate.c )
  90. pt_userguide ( UgSweepCreate.c )
  91. pt_userguide ( UgSweepCreate.c )