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.