Returns the type of constraint applied to the referenced object.
{| class="wikitable_c" |+ Table - Constraint Types
| ! Index !! Constraint Type |
|---|
| style="text-align:center" |
| Vertical |
| - |
| style="text-align:center" |
| Horizontal |
| - |
| style="text-align:center" |
| Distance |
| - |
| style="text-align:center" |
| Vertical distance |
| - |
| style="text-align:center" |
| Horizontal distance |
| - |
| style="text-align:center" |
| Radius |
| } |
FUNCTION GetSingularConstraint(
typeOfConstraint : INTEGER;
obj : HANDLE;
vertexA : INTEGER;
vertexB : INTEGER): HANDLE;def vs.GetSingularConstraint(typeOfConstraint, obj, vertexA, vertexB):
return HANDLE| Name | Type | Description |
|---|---|---|
| typeOfConstraint | INTEGER | Type of constraint to be returned. |
| obj | HANDLE | Handle to object. |
| vertexA | INTEGER | Vertex defining the constraint geometry. |
| vertexB | INTEGER | Vertex defining the constraint geometry. |
Availability: from VectorWorks 9.0
- Parametric Constraints