Example 8: Point On Curve
 
To create a datum point on a curve, 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
Curve, edge, or axis (It is valid with offset plane)
PRO_E_DPOINT_PLA_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_ON
PRO_E_DPOINT_PLA_CONSTR_VAL
Not applicable
The following tables provide valid values for constraint 2. You can create a point on curve using values from one of the following tables for constraint 2.
Use the following values for constraint 2 if the length of curve from the start point or the end point is used to locate the point.
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_DIM_CONSTR_REF
Curve (Use the same curve as used in Constraint 1)
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_LENGTH or PRO_DTMPNT_CONSTR_TYPE_LENGTH_END
PRO_E_DPOINT_DIM_CONSTR_VAL
Length value (from curve start point or end point)
Use the following values for constraint 2 if the ratio of distance from the start point or the end point is used to locate the point.
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_DIM_CONSTR_REF
Curve (Use the same curve as used in contrarian 1)
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_RATIO or PRO_DTMPNT_CONSTR_TYPE_RATIO_END
PRO_E_DPOINT_DIM_CONSTR_VAL
Ratio value (from curve start or end)
Use the following values for constraint 2 if the offset surface is used to locate the point on curve.
Placement Constraint Element
Reference Element
Valid Value
PRO_E_DPOINT_DIM_CONSTRAINT (Constraint 2)
PRO_E_DPOINT_DIM_CONSTR_REF
Surface
PRO_E_DPOINT_DIM_CONSTR_TYPE
PRO_DTMPNT_CONSTR_TYPE_OFFSET
PRO_E_DPOINT_DIM_CONSTR_VAL
Offset value
这对您有帮助吗?