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
@property
def Description(self) -> str
Gets the description.
IsLayout
@property
def IsLayout(self) -> bool
Gets whether the state was saved in a layout, which the Space column shows as Layout; else Model.
Mask
@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
@property
def Name(self) -> str
Gets the name, as Plan.
SameAsDrawing
@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").