Category Sketches and sections, Object ProSection

Function ProSectionEntityUseEdge


Description
Adds an entity to the specified section creating it from projection of an edge of a solid. Simulates behavior of Sketcher/Geom Tools/Use Edge/Sel Edge sketcher command.
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityUseEdge(
ProSection section
/* (In)
The section
*/
ProSelection ref_edge
/* (In)
Referenced edge from which to create the entity.
*/
int* r_ent_id
/* (Out)
The assigned identifier of created entity (may be NULL)
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the entity.
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 ( UtilSect.c )
  2. pt_examples ( UtilSect.c )