Category Sketches and sections, Object ProSection

Function ProSectionEntityUseOffset


Description
Adds an entity to the specified section creating it at an offset distance from projection : of an edge of a solid; of 3D curve segment (datum curve or pipe segments can be selected). It simulates the behavior of Sketcher/Edge/Offset/... command.
Synopsis
#include <ProSection.h>
ProErrorProSectionEntityUseOffset(
ProSection section
/* (In)
The section.
*/
ProSelection ref_sel
/* (In)
Referenced object from which to create the entity.
*/
double offset_val
/* (In)
Offset distance.
*/
int* p_dim_id
/* (Out)
Offset dimension ID. May be NULL.
*/
int** p_id_list
/* (Out)
The array of identifiers. The function allocates the memory for this argument. Call the function ProArrayFree() to release the memory. May be NULL.
*/
int* p_num_ids
/* (Out)
The size of the p_id_list array. May be NULL.
*/
)
Returns
PRO_TK_NO_ERRORSuccessfully added the entity with the offset value.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.
See Also
ProArrayFree

Manual References:

  1. Element Trees: Sketched Features: Creating Geometry by Offsetting
  2. Element Trees: Sketched Features: Creating Geometry by Offsetting