Feature Elements
The following table describes the elements in the element tree for coordinate system feature.
Element Id
Element Name
Data Type
Valid Values
PRO_E_FEATURE_TYPE
Feature Type
PRO_VALUE_TYPE_INT
PRO_FEAT_CSYS
PRO_E_STD_FEATURE_NAME
Feature Name
PRO_VALUE_TYPE_WSTRING
PRO_E_CSYS_FEAT_SUB_TYPE
Feature Sub Type
Specifies if the feature subtype is a coordinate system. The valid value is defined in the enumerated data type ProCsysFeatSubType:
PRO_CSYS_SUB_TYPE_ROSETTE—This is the default value. Specifies that the coordinate system is of the type rosette.
PRO_VALUE_TYPE_INT
ProCsysFeatSubType
PRO_E_CSYS_ORIGIN_CONSTRS
Origin Constraints
Array
PRO_E_CSYS_ORIGIN_CONSTR
Origin Constraint
Compound
PRO_E_CSYS_ORIGIN_CONSTR_REF
Origin Reference
PRO_VALUE_TYPE_SELECTION
PRO_E_CSYS_OFFSET_TYPE
Origin Offset Type
PRO_VALUE_TYPE_INT
ProCsysOffsetType
PRO_E_CSYS_ONSURF_TYPE
On Surface Type
PRO_VALUE_TYPE_INT
ProCsysOnSurfType
PRO_E_CSYS_DIM_CONSTRS
Dimension Constraints
Array
PRO_E_CSYS_DIM_CONSTR
Dimension Constraint
Compound
PRO_E_CSYS_DIM_CONSTR_REF
Dimension Constraint Reference
PRO_VALUE_TYPE_SELECTION
PRO_E_CSYS_DIM_CONSTR_TYPE
Dimension Constraint Type
PRO_VALUE_TYPE_INT
ProCsysDimConstrType
PRO_E_CSYS_DIM_CONSTR_VAL
Dimension Constraint Value
PRO_VALUE_TYPE_DOUBLE
PRO_E_CSYS_ORIENTMOVES
Orientation Moves
Array
PRO_E_CSYS_ORIENTMOVE
Compound
PRO_E_CSYS_ORIENTMOVE_MOVE_TYPE
Move Type
PRO_VALUE_TYPE_INT
ProCsysOrientMoveMoveOpt
PRO_E_CSYS_ORIENTMOVE_MOVE_VAL
Move Value
PRO_VALUE_TYPE_DOUBLE
PRO_E_CSYS_NORMAL_TO_SCREEN
Set Z Normal To Screen
PRO_VALUE_TYPE_INT
ProCsysOrientMovesNrmScrnOpt
PRO_E_CSYS_ORIENT_BY_METHOD
Orient By Method
PRO_VALUE_TYPE_INT
ProCsysOrientByMethod
PRO_E_CSYS_ORIENTSELAXIS1_REF
First Axis Reference
PRO_VALUE_TYPE_SELECTION
PRO_E_CSYS_ORIENTSELAXIS1_REF_OPT
First Axis Reference Option
PRO_VALUE_TYPE_INT
ProCsysDirCsysRefOpt
PRO_E_CSYS_ORIENTSELAXIS1_OPT
First Axis Option
PRO_VALUE_TYPE_INT
ProCsysOrientMoveAxisOpt
PRO_E_CSYS_ORIENTSELAXIS1_FLIP
Flip first direction
-
PRO_E_CSYS_ORIENTSELAXIS2_REF
Second Axis Reference
PRO_VALUE_TYPE_SELECTION
PRO_E_CSYS_ORIENTSELAXIS2_REF_OPT
Second Axis Reference Option
PRO_VALUE_TYPE_INT
ProCsysDirCsysRefOpt
PRO_E_CSYS_ORIENTSELAXIS2_OPT
Second Axis Option
PRO_VALUE_TYPE_INT
ProCsysOrientMoveAxisOpt
PRO_E_CSYS_ORIENTSELAXIS2_FLIP
Flip second direction
-
PRO_E_CSYS_ORIENTSELAXIS2_ROT_OPT
Second Axis Rotation Option
PRO_VALUE_TYPE_INT
ProCsysOrientSelAxisRotOpt
PRO_E_CSYS_ORIENTSELAXIS2_ROT
Second Axis Rotation
PRO_VALUE_TYPE_DOUBLE
Axisopt1 != AxisOpt2
PRO_E_CSYS_TYPE_MECH
Coordinate System Type (available in Creo Simulatemode only)
PRO_VALUE_TYPE_INT
ProCsysType
PRO_E_CSYS_FOLLOW_SRF_OPT
Follow Surface Option (available in Creo NC Sheetmetal mode only)
PRO_ELEM_TYPE_OPTION
ProCsysFollowSrfOpt
PRO_E_CSYS_NAME_DISPLAY_OPT
Name display option
Specifies if the name of the coordinate system must be displayed in the graphics window. The valid values are defined in the enumerated data type ProCsysNameDisplayOpt:
PRO_CSYS_NAME_DISPLAY_NO—This is the default value. Specifies that the name of the coordinate system must not be displayed in thw graphics window.
PRO_CSYS_NAME_DISPLAY_YES—Specifies that the name of the coordinate system must be displayed in the graphics window.
PRO_VALUE_TYPE_INT
ProCsysNameDisplayOpt
PRO_E_CSYS_DISPLAY_ZOOM_DEP_OPT
Display zoom dependent option
Specifies if the size of the coordinate system is dependent on the zoom of the model. The valid values are defined in the enumerated data type ProCsysDisplayZoomDepOpt:
PRO_CSYS_DISPLAY_ZOOM_DEP_NO—This is the default value. Specifies that the coordinate system is independent of the zoom of the model. The coordinate system does not zoom when the model is zoomed.
PRO_CSYS_DISPLAY_ZOOM_DEP_YES—Specifies that the size of the coordinate system is dependent on the zoom of the model. The coordinate system zooms when the model zooms.
PRO_VALUE_TYPE_INT
ProCsysDisplayZoomDepOpt
PRO_E_CSYS_AXIS_LENGTH
Axis length
Specifies the default length for the coordinate system axes.
PRO_VALUE_TYPE_DOUBLE
Note:
 
To determine whether a coordinate system is a default coordinate system, query the number of PRO_E_CSYS_ORIGIN_CONSTRS and the number of PRO_E_CSYS_ORIENTMOVES. If both of the numbers are zero, then Csys is the default coordinate system.
The following elements are common for all the cases of the coordinate system feature creation:
Element ID
Value
Comments
PRO_E_FEATURE_TYPE
PRO_FEAT_CSYS
Mandatory
PRO_E_STD_FEATURE_NAME
Feature Name
Optional
這是否有幫助?