Datum Axis Features
The basic element tree for creating axes is available in the include file ProDtmAxis.h. The following figure shows the basic structure of the element tree.
Creo TOOLKIT supports creation of the following types of datum axes:
There is no single element that indicates the type in constraints element tree. The type is determined implicitly based on the constraint type and references. The types of the datum axis constraints for the references are defined by the enumerated type ProDtmaxisConstrType and are as follows:
• PRO_DTMAXIS_CONSTR_TYPE_NORMAL— Positions the datum axis normal to the selected reference.
• PRO_DTMAXIS_CONSTR_TYPE_THRU— Positions the datum axis through the selected reference.
• PRO_DTMAXIS_CONSTR_TYPE_TANGENT— Positions the datum axis tangent to the selected reference.
• PRO_DTMAXIS_CONSTR_TYPE_CENTER— Positions the datum axis through the center of the selected planar circular edge or curve and normal to the plane on which the selected curve or edge lies.
• PRO_DTMAXIS_CONSTR_TYPE_PARALLEL— Positions the datum axis parallel to the selected reference.