API Documentation > Miscellaneous > Object ProX > Function ProXSectionPlanarCreate
Function ProXSectionPlanarCreate
Description
Creates a cross section through a datum plane and makes it visible.
Replacement in Object TOOLKIT:
Synopsis
#include <ProXsec.h>
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.
*/
/* (In)
Reserved for future use. Pass NULL.
*/
/* (Out)
Handle to created cross section
*/
)
Returns
Cross section successfully created.
Invalid input parameter(s).
Failed to create cross section.
xsec_name is longer then PRO_NAME_SIZE.
See Also
ProXSecGeometryCollect
User Guide References
Was this helpful?