Unit Settings

Commands: UNITS and -UNITS

The Units command sets units of linear and angular measurements through the Settings dialog box.

The -Units command sets units of linear and angular measurements in the command bar.

 

The INSUNITS (Insertion Units) system variable defines a drawing units value for automatic scaling when inserting blocks or attaching Xrefs.

Any length, area or volume property can be displayed using the unit(s) preferred by the user.

The unit defined by INSUNITS is used as the base unit for any requested unit conversions. If INSUNITS = 0 (undefined) the PROPUNITS mechanism is disabled because the base drawing unit is undefined.

 

NOTES

  • When LUNITS = 3 (Engineering) or 4 (Architectural), property values will be formatted in imperial notation.

  • Automatic unit conversion during length input can be used when bitcode 1 of PROPUNITS (Format length properties) is set. E.g. when INSUNITS is set to "mm", entering "2m" in a length property field will result in entering [2000.0000 mm]. Entering "1ft" will give [304.8000 mm].

 

 

Name

Title

Description

INSUNITS

Insertion Units

Defines the value of 1 Drawing Unit (DU), which is used for automatic scaling when inserting or attaching blocks, images or Xrefs.

When both INSUNITS and PROPUNITS are ON, Length, Area, Volume and/or Inertia properties will be formatted with a dedicated unit.

MEASUREMENT

Measurement

Sets drawing units as Imperial or Metric. The MEASUREMENT system variable controls whether ANSI or ISO hatch pattern and linetype files are used.

PROPUNITS

Property Units

Defines which property values are automatically formatted with a dedicated unit when INSUNITS is not zero.

The value is stored as a bitcode, using the sum of the values of all selected options:

1 = format lengths

2 = format areas

4 = format volumes

16 = format dynamic dimensions

LUPREC

Linear Unit Precision

Sets the number of decimal places displayed for linear units.

AREAPREC

Area Precision

Sets the number of decimal places displayed for areas when the Area bit of PROPUNITS is ON.

If set negative,  the value of LUPREC is used.

VOLUMEPREC

Volume Precision

Sets the number of decimal places displayed for volumes when the Volume bit of PROPUNITS is ON.

If set negative,  the value of LUPREC is used.

LENGTHUNITS

Length Units

Defines a list of units used for displaying lengths when the Length bit of PROPUNITS is ON.

If empty, all lengths display in the current drawing unit, as defined by INSUNITS.

If multiple units are selected, the unit that fits best is used.

AREAUNITS

Area Units

Defines a list of units used for displaying areas when the Area bit of PROPUNITS is ON.

If empty, all lengths display in the current drawing unit, as defined by INSUNITS.

If multiple units are selected, the unit that fits best is used.

VOLMEUNITS

Volume Units

Defines a list of units used for displaying volumes when the Volume bit of PROPUNITS is ON.

If empty, all lengths display in the current drawing unit, as defined by INSUNITS.

If multiple units are selected, the unit that fits best is used.

UNITMODE

Unit Mode

Specifies how Imperial units display.

0 = Displays fractional, feet-and-inches, and surveyor's angles in "report" format using spaces as delimiters.

1 = Displays fractional, feet-and-inches, and surveyor's angles in "input" format without including spaces and, in some cases, substituting dashes for spaces

Entering angles

The AUNITS system variable defines the angular unit type.

You can enter angles in any of 5 formats:

 


© Menhirs NV. All rights reserved.