Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.17 KB

File metadata and controls

49 lines (38 loc) · 1.17 KB

SetConstrain

Description

Procedure SetConstrain sets the active drawing constraints for the document. Each constraint is represented by an ASCII character identifier; these characters are assembled into a string which determines the constraints to be activated.

VectorWorks Constraint Identifiers

Constraint Identifier
Snap To Grid A
Snap To Objects Q
Constrain Angle S
Snap Intersection W
Smart Points D
Snap To Distance E
Smart Edge F
Constrain Tangent R
PROCEDURE SetConstrain(str : STRING);
def vs.SetConstrain(str):
    return None

Parameters

Name Type Description
str STRING Constraint constant string.

Examples

VectorScript

SetConstrain('QD');

{activates the snap objects and smart point constraints and deactivates the others}

Python

Version

Availability: from All Versions

Category