Object ProX

Function ProXSectionOffsetCreate


Description
Creates an offset cross section with polyline lying on the plane given by local sys.
Synopsis
#include <ProXsec.h>
ProErrorProXSectionOffsetCreate(
ProSolid solid_owner
/* (In)
Solid in which the xsec is to be created.
*/
ProMdlName xsec_name
/* (In)
Name of the cross section. Name size should be PRO_NAME_SIZE.
*/
double trf[4][3]
/* (In)
Local sys of the plane containing cross section polyline.
*/
Pro2dLinedef* ent_arr
/* (In)
ProArray of Pro2dLinedef structures for polyline.
*/
ProXsecOffsetSide side
/* (In)
PRO_XSEC_OFFSET_SIDE_1/2 - we remove material only from positive/negative normal of polyline plane;
*/
int flip
/* (In)
FALSE - we keep material from the right of the oriented polyline, if we look from the positive normal to polyline plane and if side = PRO_XSEC_OFFSET_SIDE_1/2, only from the positive/negative normal to this plane;
*/
ProXsecExcludeModels excld_incld_opt
/* (In)
PRO_XSEC_MODEL_EXCLUDE - exclude exclude_items from cutting by cross section;
*/
ProSelection* exclude_items
/* (In)
ProArray of selected bodies or parts to include/exclude from cross-section.
*/
ProXSectionCreateData data
/* (In)
Used to set quilt xsec type ( PRO_XSECTYPE_QUILTS or PRO_XSECTYPE_MODELQUILTS ) for offset xsec creation. Used to set quilt selection for offset xsec creation when PRO_XSECTYPE_QUILTS option is used.
*/
ProXsecMdlname* r_xsec
/* (Out)
Handle to created cross section
*/
)
Returns
PRO_TK_NO_ERRORCross section successfully created.
PRO_TK_BAD_INPUTSInvalid input parameter(s).
PRO_TK_GENERAL_ERRORFailed to create cross section.
PRO_TK_LINE_TOO_LONGxsec_name is longer then PRO_NAME_SIZE.

Manual References:

  1. Core: Cross Sections: Creating and Modifying Cross Sections
  2. Core: Cross Sections: Creating and Modifying Cross Sections
  3. Technical Summary of Changes for Creo 11.0.0.0: Functions superseded from Creo 1.0 to Creo 11.0
  4. Migrating to the Multibody Environment: Overview
  5. Migrating to the Multibody Environment: Impact on Existing APIs