Skip to content

Latest commit

 

History

History
55 lines (47 loc) · 1.11 KB

File metadata and controls

55 lines (47 loc) · 1.11 KB

GetSingularConstraint

Description

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

Parameters

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.

Version

Availability: from VectorWorks 9.0

Category

  • Parametric Constraints