Category Sketches and sections, Object ProSection

Function ProSectionEntityUseEdgeLoop


Description
Adds loop of entities to the specified section creating them from projections of bounding edges of a solid model surface. Simulates behavior of Sketcher/Geom Tools/Use Edge/Sel Loop sketcher command.
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityUseEdgeLoop(
ProSection section
/* (In)
The section
*/
ProSelection ref_geom
/* (In)
Referenced surface from whose contour the loop of entities should be created
*/
ProSelection ref_edge
/* (In)
Edge belonging to the contour of the surface.
*/
ProIntlist* p_id_list
/* (Out)
The array of identifiers. The function allocates the memory for this argument. Call the function ProArrayFree() to release the memory.
*/
int* p_num_ids
/* (Out)
The size of the p_id_list array.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully added the entity.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProArrayFree

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 )