Category View manager, Object ProXsec

Function ProXsecOffsetCreate


DEPRECATED: Since Creo 7
SUPERSEDED BY: ProXSectionOffsetCreate
Description
Creates an offset cross section with polyline lying on the plane given by local sys.

NOTE: This function is deprecated. Please use ProXSectionOffsetCreate instead.

Synopsis
#include <ProXsec.h>
ProErrorProXsecOffsetCreate(
ProSolid solid_owner
/* (In)
Solid in which the xsec is to be created.
*/
ProName xsec_name
/* (In)
Name of the cross section.
*/
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 model_opt
/* (In)
PRO_XSEC_MODEL_EXCLUDE - exclude assembly components with paths in comp_id_tabs from cutting by cross section;
*/
ProAsmpath* comp_id_tabs
/* (In)
ProArray of ProAsmpath for excluded/included components.
*/
ProXsec* 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.

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: Impact on Existing APIs