API 설명서 > View manager > Object ProXsec > Function ProXsecPlanarWithoptionsCreate
Function ProXsecPlanarWithoptionsCreate
DEPRECATED:
Since Creo 7
Description
Creates a cross section through a datum plane and makes it visible.
NOTE: This function is deprecated. Please use ProXSectionPlanarCreate instead.
Replacement in Object TOOLKIT:
Synopsis
#include <ProXsec.h>
ProXsecPlanarWithoptionsCreate
(
ProSolid solid_owner
/* (In)
Solid in which the xsec is to be created.
*/
ProName xsec_name
/* (In)
Name of the cross section.
*/
int plane_id
/* (In)
ID of the cutting plane. This plane must belong to the solid_owner.
*/
ProXsecCutobj xsec_type
/* (In)
Type of object being cut by the xsec.
*/
int* memb_id_tab
/* (In)
ProArray of integer identifiers forming the path to the component whose quilt is being cut if xsec_type is PRO_XSECTYPE_QUILTS, or the component if xsec_type is PRO_XSECTYPE_ONEPART
*/
int quilt_id
/* (In)
ID of the quilt being cut if xsec_type is PRO_XSECTYPE_QUILTS; -1 in all other cases. The quilt may belong to the solid_owner or its sub-assemblies.
*/
int flip
/* (In)
xsec flip with respect to cutting plane positive normal.
*/
/* (In)
option for exclude/include;
*/
ProAsmpath* comp_id_tabs
/* (In)
ProArray of ProAsmpath for excluded/included components.
*/
ProXsec* xsec
/* (Out)
Handle to created cross section
*/
)
Returns
Cross section successfully created.
Model is in read-only state.
Invalid input parameter(s).
Failed to create cross section.
Sample Code References
User Guide References
도움이 되셨나요?