User's Guide > Datum Features > Datum Features
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 propertypfcDatumPlaneNormalConstraint.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.
DTMPLN_OFFS—Offset constraint. The pfcDatumPlaneOffsetConstraint object specifies this constraint. Use the property pfcDatumPlaneOffsetConstraint.OffsetRef to get the reference selection handle for the Offset constraint. Use the property pfcDatumPlaneOffsetConstraint.OffsetValue to get the offset value.
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.
DTMPLN_ANG—Angle constraint. The object specifies this constraint. Use the property pfcDatumPlaneAngleConstraint.AngleRef to get the reference selection handle for the Angle constraint. Use the property pfcDatumPlaneAngleConstraint.AngleValue to get the angle value.
DTMPLN_SEC—Section constraint. The pfcDatumPlaneSectionConstraint object specifies this constraint. Use the property pfcDatumPlaneSectionConstraint.SectionRef to get the reference selection for the Section constraint. Use the property pfcDatumPlaneSectionConstraint.SectionIndex to get the section index.
Was this helpful?