Table of Contents

Property Dimlunit

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Dimlunit

Gets or sets the units of lengths ($DIMLUNIT), as AutoCAD's Dimlunit: 1 scientific, 2 decimal, 3 engineering, 4 architectural, 5 fractional, 6 the Windows desktop's; 2 where the header gives none.

public int Dimlunit { get; set; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

Thrown when the number set is not from 1 to 6.

InvalidOperationException

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