Description | ||||||||||||||
Creates a cross section through a datum plane and makes it visible. | ||||||||||||||
Synopsis | ||||||||||||||
#include <ProXsec.h> | ||||||||||||||
ProError | ProXSectionPlanarCreate | ( | ||||||||||||
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 | ||||||||||||||
|
||||||||||||||
See Also | ||||||||||||||
ProXSecGeometryCollect |