Datum Features
This section describes the Creo.JS methods and properties that provide read access to the properties of datum features.
Datum Plane Features
The properties of the Datum Plane feature are defined in the pfcDatumPlaneFeat data object.
Methods and Properties Introduced:
The properties of the pfcDatumPlaneFeat object are described as follows:
• Flip—Specifies whether the datum plane was flipped during creation. Use the property
pfcDatumPlaneFeat.Flip to determine if the datum plane was flipped during creation.
• Constraints—Collection of constraints given by the
pfcDatumPlaneConstraint object. The property
pfcDatumPlaneFeat.Constraints obtains the collection of constraints defined for the datum plane.
Use the property
pfcDatumPlaneConstraint.ConstraintType to obtain the type of constraint. The type of constraint is given by the
pfcDatumPlaneConstraintType enumerated data type. The available types are as follows:
• DTMPLN_THRU—Through constraint. The
pfcDatumPlaneThroughConstraint object specifies this constraint. Use the property
pfcDatumPlaneThroughConstraint.ThroughRef to get the reference selection handle for the Through constraint.
• DTMPLN_NORM—Normal constraint. The
pfcDatumPlaneNormalConstraint object specifies this constraint. Use the property
pfcDatumPlaneNormalConstraint.NormalRef to get the reference selection handle for the Normal constraint.
• DTMPLN_PRL—Specifies the Parallel constraint. The
pfcDatumPlaneParallelConstraint object specifies this constraint. Use the property
pfcDatumPlaneParallelConstraint.ParallelRef to get the reference selection handle for the Parallel constraint.
• pfcDTMPLN_TANG—Tangent constraint. The pfcDatumPlaneTangentConstraint object specifies this constraint. Use the property pfcDatumPlaneTangentConstraint.TangentRef( to get the reference selection handle for the Tangent constraint.
An Offset constraint where the offset reference is a coordinate system is given by the
pfcDatumPlaneOffsetCoordSysConstraint object. Use the property
pfcDatumPlaneOffsetCoordSysConstraint.CsysAxis to get the reference coordinate axis.