VS:NoAngleVar

From Vectorworks Developer
Revision as of 17:07, 7 October 2015 by Jaredm (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Sets the angle designation method in VectorScript. When called, VectorScript will treat language symbols which can be interpreted as direction angles (e.g., N, S, NW, SE) as as angles, rather than as variables.
PROCEDURE NoAngleVar;
def vs.NoAngleVar():
    return None

Example

VectorScript

PROCEDURE test;
VAR
S : REAL;

BEGIN
NoAngleVar;
S := 30;
LineTo(3", #S);
{ The 'S' will be treated as the direction 'South'  }
{ and line will be drawn on 270 degree angle. }

END;
RUN(test);

Python

vs.NoAngleVar()

Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox