LinearUnit Property

AEC Auto

LinearUnit Property

Specifies the unit used to display linear values.

See Also | Example

Signature

object.LinearUnit

object

AecBaseDatabasePreferences The object this property applies to.

LinearUnits

AecBuiltInUnit enum; read-write
The unit used to display linear values. Specify one of the following:

aecUnitInch:

Inches

aecUnitFoot:

Feet

aecUnitMillimeter:

Millimeters

aecUnitCentimeter:

Centimeters

aecUnitDecimeter:

Decimeters

aecUnitMeter:

Meters

Remarks

Use this property to specify whether you want to use feet or meters in your drawing.

The linear units that you select must be the same for all drawings in a project. You cannot mix foot-based drawings with meter-based drawings in the same project.