Table of Contents

CadLayerStateRow

from OpenCAD2D import CadLayerStateRow

class CadLayerStateRow(System.Object) ยท CadLayerStateRow in the .NET reference

A layer state of a drawing as the Layer States Manager lists it.

Properties and fields

Description

.NET

@property
def Description(self) -> str

Gets the description.

IsLayout

.NET

@property
def IsLayout(self) -> bool

Gets whether the state was saved in a layout, which the Space column shows as Layout; else Model.

Mask

.NET

@property
def Mask(self) -> int

Gets the properties the state restores, as AutoCAD's mask: 1 on, 2 frozen, 4 locked, 8 plot, 0x20 colour and on (see CadLayerStates).

Name

.NET

@property
def Name(self) -> str

Gets the name, as Plan.

SameAsDrawing

.NET

@property
def SameAsDrawing(self) -> bool

Gets whether every layer of the drawing is as the state has it, in the properties it restores ("Same as DWG").