VS:Units

From Vectorworks Developer
Jump to: navigation, search

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

Description

Procedure Units specifies a standard units setting for the active document.
Table - Standard Unit Settings
Units Setting Constant
Custom 0
Feet/Inches 1
Inches 2
Feet 3
Yards 4
Miles 5
Microns 6
Millimeters 7
Centimeters 8
Meters 9
Kilometers 10
PROCEDURE Units(
i  :INTEGER);
def vs.Units(i):
    return None

Parameters

i INTEGER Standard units setting index value.

Remarks

See GetPrimaryUnitInfo for details on changes in version 9 and again in version 12.

Version

Availability: from All Versions
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox