Category Sketches and sections, Object ProSection

Function ProSectionEntityReferenceGet


Description
Return the geometry referenced by a projection entity.
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityReferenceGet(
ProSection section
/* (In)
The section handle.
*/
int ent_id
/* (In)
The projected entity id.
*/
ProSelection* reference
/* (Out)
The 3D geometric entity referenced by the projected entity.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.
PRO_TK_INVALID_TYPEThe entity is not a projected entity.
PRO_TK_UNSUPPORTEDThe function does not support entity type PRO_2D_COMPOSITE_CURVE.

Manual References:

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

Sample Code References:

  1. pt_examples ( SketchFeatureCreate.c )