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> | ||||||||
ProError | ProSectionEntityUseOffset | ( | ||||||
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 | ||||||||
|
||||||||
See Also | ||||||||
ProArrayFree |