Category Sketches and sections, Object ProSection

Function ProSectionEntityFromProjection


Description
Creates a known entity in the section by projecting the reference geometry (a surface or an edge) onto the sketching plane.

If the function is successful, it returns the identifier of the known entity.

Synopsis
#include <ProSection.h>
ProErrorProSectionEntityFromProjection(
ProSection section
/* (In)
The section
*/
ProSelection ref_geometry
/* (In)
The selected geometry
*/
int* r_ent_id
/* (Out)
The identifier of the known entity
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the known entity.
PRO_TK_GENERAL_ERRORA general error occurred and the function failed.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Element Trees: Sketched Features: Reference Entities and Use Edge
  2. Element Trees: Sketched Features: Reference Entities and Use Edge

Sample Code References:

  1. pt_examples ( TestExtrude.c )
  2. pt_examples ( UtilSect.c )
  3. pt_examples ( UtilSect.c )
  4. pt_examples ( UtilSect.c )
  5. pt_geardesign ( GearDesignUtils.c )
  6. pt_geardesign ( GearDesignUtils.c )
  7. pt_geardesign ( GearDesignUtils.c )
  8. pt_geardesign ( GearDesignUtils.c )
  9. pt_geardesign ( GearDesignUtils.c )
  10. pt_userguide ( Ug3DSection.c )
  11. pt_userguide ( Ug3DSection.c )
  12. pt_userguide ( Ug3DSection.c )
  13. pt_userguide ( Ug3DSection.c )