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| Name | Type | Description |
|---|---|---|
| i | INTEGER | Standard units setting index value. |
See GetPrimaryUnitInfo for details on changes in version 9 and again in version 12.
Availability: from All Versions