Object ProX

Function ProXSectionPlanarCreate


Description
Creates a cross section through a datum plane and makes it visible.
Synopsis
#include <ProXsec.h>
ProErrorProXSectionPlanarCreate(
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.
*/
ProSelection cutting_plane
/* (In)
Selection of cutting plane. Cutting plane should belong to top level part or assembly.
*/
ProXsecCutobj xsec_type
/* (In)
Type of object being cut by the xsec.
*/
ProSelection quilt_or_one_part
/* (In)
ProSelection of quilt or component depending on xsec_type.
*/
int flip
/* (In)
xsec flip with respect to cutting plane positive normal.
*/
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)
Reserved for future use. Pass NULL.
*/
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.
See Also
ProXSecGeometryCollect

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