Table of Contents

Property ViewportScaleDefault

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

ViewportScaleDefault

Gets or sets the scale new viewports are given ($PSVPSCALE), as AutoCAD's ViewportScaleDefault: paper space units to model space units, so that 0.02 shows a model of millimetres at 1:50 on a sheet of millimetres; nought, scaled to fit, where the header gives none.

public double ViewportScaleDefault { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

Thrown when the scale set is not a finite number of nought or more.

InvalidOperationException

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