Returns the type of constraint applied to the referenced object.
Table - Constraint Types
| Index | Constraint Type |
|---|---|
| 4 | Vertical |
| 5 | Horizontal |
| 8 | Distance |
| 9 | Vertical distance |
| 10 | Horizontal distance |
| 11 | 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