Offset Datum Curves
Creo TOOLKIT provides partial element tree access to offset datum curves. In the user interface, the Offset curve type results in one of the following curve types depending upon the selected references:
A curve offset normal to a surface
A curve offset along a quilt
The feature element tree for Offset curve type contains elements that support both these feature types. The curve type determines which elements are required:
PRO_CURVE_TYPE_OFFSET is offset normal to a surface
PRO_CURVE_TYPE_OFFSET_IN_QUILT is offset along a quilt. Offset along a quilt is not supported in Creo TOOLKIT.
Creation, redefinition or inspection of the curve type PRO_CURVE_TYPE_OFFSET_IN_QUILT is not supported. This is because the curve type contains elements that require data at run-time, which is not currently accessible to Creo TOOLKIT.
The following table lists all the elements that are used to create the curve type PRO_CURVE_TYPE_OFFSET.
Element ID
Value
PRO_E_CURVE_TYPE
PRO_CURVE_TYPE_OFFSET
PRO_E_CRV_OFFS_FEAT_TYPE
PRO_OFFSET_FROM_SURFACE
PRO_E_CRV_OFFS_SRF_REF
Selection of surface or quilt
PRO_E_CRV_OFFS_DIR_FLIP
One of ProOffsetDirFlip
PRO_E_DATUM_CURVE_OFFSET_VAL
The offset value or scale if a graph is used for offset
PRO_E_CRV_OFFS_CRV_REF
Selection of datum curve to be offset
PRO_E_CRV_OFFS_GRAPH_REF
Selection of graph used for offset calculation (optional)
PRO_E_CRV_OFFS_ST_END
One of ProOffsetStEnd
¿Fue esto útil?