Example 2: Offset Point
 
To create one or more datum points at an offset, the following constraints are required.
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_PLA_CONSTRAINT (Constraint 1)
PRO_E_DPOINT_PLA_CONSTR_REF
Vertex, Csys, or DPnt
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_OFFSET
PRO_E_DPOINT_PLA_CONSTR_VAL
Offset value.
The following tables provide valid values for Constraint 2. You can create a point at an offset using values from one of the following tables for Constraint 2.
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_PLA_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_PLA_CONSTR_REF
Curve, Edge or Axis
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_PARALLEL
PRO_E_DPOINT_PLA_CONSTR_VAL
Not applicable
OR
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_PLA_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_PLA_CONSTR_REF
Surface
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_NORMAL
PRO_E_DPOINT_PLA_CONSTR_VAL
Not applicable
OR
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_PLA_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_PLA_CONSTR_REF
Csys Axis
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_PARALLEL
PRO_E_DPOINT_PLA_CONSTR_VAL
Not applicable
OR
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_PLA_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_PLA_CONSTR_REF
Csys
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_CARTESIAN or
PRO_DTMPNT_CONSTR_TYPE_CYLINDRICAL or PRO_DTMPNT_CONSTR_TYPE_SPHERICAL
PRO_E_DPOINT_PLA_CONSTR_VAL
Not applicable
The following table provides valid values for dimension constraints.
Dimension Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 3)
PRO_E_DPOINT_DIM_CONSTR_REF
Not applicable
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_ALONG_X
PRO_E_DPOINT_DIM_CONSTR_VAL
Offset Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 4)
PRO_E_DPOINT_DIM_CONSTR_REF
Not applicable
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_ALONG_Y
PRO_E_DPOINT_DIM_CONSTR_VAL
Offset Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 5)
PRO_E_DPOINT_DIM_CONSTR_REF
Not applicable
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_ALONG_Z
PRO_E_DPOINT_DIM_CONSTR_VAL
Offset Value
As per Offset types the values are as follows:
CARTESIAN
CYLINDRICAL
SPHERICAL
PRO_DTMPNT_CONSTR_TYPE_ALONG_X
X
R
RHO
PRO_DTMPNT_CONSTR_TYPE_ALONG_Y
Y
THETA
PHI
PRO_DTMPNT_CONSTR_TYPE_ALONG_Z
Z
Z
THETA
这对您有帮助吗?