Object ProOffset

Function ProOffsetXsecInfoGet


Description
Returns parameters of offset X-section
Synopsis
#include <ProXsec.h>
ProErrorProOffsetXsecInfoGet(
ProXsec* xsec
/* (In)
Cross-section handle
*/
ProView p_view
/* (In)
View handle
*/
Pro2dLinedef** p_ent_arr
/* (Out)
ProArray of Pro2dLinedef structures for X-section entities. Free this using ProArrayFree().
*/
ProPlanedata* plane
/* (Out)
ProPlanedata for an entity plane.
*/
ProBoolean* p_one_sided
/* (Out)
TRUE if X-section is on one side of entity plane; FALSE - both sided.
*/
ProBoolean* p_flip
/* (Out)
FALSE, we remove material from the left of the oriented entities (if we look from the positive normal to entity plane) and if one_sided = TRUE, only from one side of entity plane opposite to its normal. TRUE, we instead keep this area and remove the rest of the material.
*/
ProXsecOffsetSide* p_side_xsec_mode
/* (Out)
returns orientation as PRO_XSEC_OFFSET_SIDE_1/PRO_XSEC_OFFSET_SIDE_2/ PRO_XSEC_OFFSET_BOTH_SIDES
*/
)
Returns
PRO_TK_NO_ERRORData successfully retrieved.
PRO_TK_BAD_INPUTSInvalid input parameter(s).
PRO_TK_NOT_IMPLEMENTEDSome of X-section entities is not a line segment.

Manual References:

  1. Core: Cross Sections: Extracting Cross-Sectional Geometry
  2. Core: Cross Sections: Extracting Cross-Sectional Geometry
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0