Creates a constraint.
Parameters:
iElem1
[in] Address of the first geometrical element.
iSelPt1
[in] If the geometry is a curve, pass the 2D selection coordinates of the curve expressed according to the sketch system of reference. Else, pass NULL. (This entry serves as the initialization point of the resolution. If no information is passed, the system will evaluate one automatically. However, the returned solution (location where the constraint on the curve will be solved) can be unexpected for the user).
iElem2
[in] Address of the second geometrical element. Pass NULL if necessary (e.g. for a length constraint, only iElem1 should be valuated).
iSelPt2
[in] If the geometry is a curve, pass the 2D selection coordinates of the curve expressed according to the sketch system of reference. Else, pass NULL. (This entry serves as the initialization point of the resolution. If no information is passed, the system will evaluate one automatically. However, the returned solution (location where the constraint on the curve will be solved) can be unexpected for the user).
iElem3
[in] Address of the third geometrical element. Pass NULL if necessary.
iSelPt3
[in] If the geometry is a curve, pass the 2D selection coordinates of the curve expressed according to the sketch system of reference. Else, pass NULL. (This entry serves as the initialization point of the resolution. If no information is passed, the system will evaluate one automatically. However, the returned solution (location where the constraint on the curve will be solved) can be unexpected for the user).
iDirection
[in] Address of a geometrical element of the line type to create an oriented dimension. (e.g. vertical if the V direction of the sketch absolute axis is passed, or horizontal if the H direction is passed).
iCstType
[in] Type of the constraint to create.
iDriven
[in] The default value 0 corresponds to a driving dimension. If <> 0, if will be a measured dimension (reference constraint).
iEvaluation
[in] The default value 1 implies a solver evaluation after the constraint is created. If several constraints must be created successively, you can run explicitly a final evaluation by setting the value to 0.