Table of Contents

Property Layout

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Layout

Gets or sets the layout a view of paper space was saved in, as AutoCAD's Layout: the handle in group 330 of the XRECORD ADSK_XREC_VTRVIEWINFO of its extension dictionary. Null where the view names none, as a view of model space does not, or the layout is gone.

public DxfLayout Layout { get; set; }

Property Value

DxfLayout

Set, written as AutoCAD 2021 writes a view saved in Layout1: the XRECORD's 290 and 292 of nought, the 330 and its 294 of nought, the extension dictionary made where the view has none; a record that has a layer snapshot keeps it and takes the 330 in before its 294. Null takes the 330 out.

Exceptions

ArgumentException

Thrown when the layout set is not one of the drawing's.

InvalidOperationException

Thrown when set on a view in no file, or one erased.