Property LayerState
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
LayerState
Gets or sets the layer state the view's layer snapshot is kept in, as AutoCAD's LayerState: the group 302 of
the XRECORD ADSK_XREC_VTRVIEWINFO of its extension dictionary, ACAD_VIEWS_ and the view's name as AutoCAD 2021 names
the hidden state it saves; empty where the view keeps none.
public string LayerState { get; set; }
Property Value
- string
Set, written as AutoCAD 2021 writes it: the XRECORD's 290 of nought, the 302 and its 293 and 294 of nought, the extension dictionary made where the view has none; empty takes the 302 out. The state itself is the drawing's, kept by LayerStateManager.
Exceptions
- ArgumentNullException
Thrown when the name set is null.
- InvalidOperationException
Thrown when set on a view in no file, or one erased.