User's Guide > Datum Features
Datum Features
This section describes the Creo Object TOOLKIT C++ methods 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 Introduced:
The properties of the pfcDatumPlaneFeat object are described as follows:
Flip—Specifies whether the datum plane was flipped during creation. Use the method pfcDatumPlaneFeat::GetFlip to determine if the datum plane was flipped during creation.
Constraints—Specifies a collection of constraints given by the pfcDatumPlaneConstraint object. The method pfcDatumPlaneFeat::GetConstraints obtains the collection of constraints defined for the datum plane.
Use the method pfcDatumPlaneConstraint::GetConstraintType to obtain the type of constraint. The type of constraint is given by the pfcDatumPlaneConstraintType enumerated type. The available types are as follows:
pfcDTMPLN_THRU—Specifies the Through constraint. The pfcDatumPlaneThroughConstraint object specifies this constraint. Use the method pfcDatumPlaneThroughConstraint::GetThroughRef to get the reference selection handle for the Through constraint.
pfcDTMPLN_NORM—Specifies the Normal constraint. The pfcDatumPlaneNormalConstraint object specifies this constraint. Use the method pfcDatumPlaneNormalConstraint::GetNormalRef to get the reference selection handle for the Normal constraint.
pfcDTMPLN_PRL—Specifies the Parallel constraint. The pfcDatumPlaneParallelConstraint object specifies this constraint. Use the method pfcDatumPlaneParallelConstraint::GetParallelRef to get the reference selection handle for the Parallel constraint.
pfcDTMPLN_TANG—Specifies the Tangent constraint. The pfcDatumPlaneTangentConstraint object specifies this constraint. Use the method pfcDatumPlaneTangentConstraint::GetTangentRef to get the reference selection handle for the Tangent constraint.
pfcDTMPLN_OFFS—Specifies the Offset constraint. The pfcDatumPlaneOffsetConstraint object specifies this constraint. Use the method pfcDatumPlaneOffsetConstraint::GetOffsetRef to get the reference selection handle for the Offset constraint. Use the method pfcDatumPlaneOffsetConstraint::GetOffsetValue to get the offset value.
An Offset constraint where the offset reference is a coordinate system is given by the pfcDatumPlaneOffsetCoordSysConstraint object. Use the method pfcDatumPlaneOffsetCoordSysConstraint::GetCsysAxis to get the reference coordinate axis.
pfcDTMPLN_ANG—Specifies the Angle constraint. The pfcDatumPlaneAngleConstraint object specifies this constraint. Use the method pfcDatumPlaneAngleConstraint::GetAngleRef to get the reference selection handle for the Angle constraint. Use the method pfcDatumPlaneAngleConstraint::GetAngleValue to get the angle value.
pfcDTMPLN_SEC—Specifies the Section constraint. The pfcDatumPlaneSectionConstraint object specifies this constraint. Use the method pfcDatumPlaneSectionConstraint::GetSectionRef to get the reference selection for the Section constraint. Use the method pfcDatumPlaneSectionConstraint::GetSectionIndex to get the section index.
Was this helpful?