Category View manager, Object ProXsec

Function ProXsecPlanarCreate


DEPRECATED: Since Creo 3
SUPERSEDED BY: ProXsecPlanarWithoptionsCreate
Description
Create a cross section through a datum plane.

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

Replacement in Object TOOLKIT: wfcWSolid::CreatePlanarXSection
Synopsis
#include <ProXsec.h>
ProErrorProXsecPlanarCreate(
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 plane through which the cross section is created. This plane must belong to the solid_owner.
*/
ProXsecCutobj type
/* (In)
Type of object being cut by the xsec.
*/
int quilt_id
/* (In)
ID of the quilt being cut if Xsec_type is quilt; -1 in all other cases. The quilt must belong to the solid_owner.
*/
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.