Table of Contents

Property Insunits

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Insunits

Gets or sets the unit the drawing is in ($INSUNITS), as AutoCAD's Insunits: Millimeters for a drawing in millimetres; Undefined where the header gives none. The coordinates are not scaled by it.

public DxfUnits Insunits { get; set; }

Property Value

DxfUnits

Exceptions

ArgumentOutOfRangeException

Thrown when the unit set is not one of DxfUnits.

InvalidOperationException

Thrown when set in a file older than R2000 (AC1015), which has no $INSUNITS.