Table of Contents

CadLayerInfo

from OpenCAD2D import CadLayerInfo

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

A layer of the drawing as the canvas and the layer box show it.

Properties and fields

IsFrozen

.NET

@property
def IsFrozen(self) -> bool

Gets whether the layer is frozen.

IsLocked

.NET

@property
def IsLocked(self) -> bool

Gets whether the layer is locked.

IsOn

.NET

@property
def IsOn(self) -> bool

Gets whether the layer is on.

LineWeight

.NET

@property
def LineWeight(self) -> float

Gets the line weight of the layer in millimetres.

Linetype

.NET

@property
def Linetype(self) -> str

Gets the name of the layer's linetype.

Name

.NET

@property
def Name(self) -> str

Gets the name of the layer.

Rgb

.NET

@property
def Rgb(self) -> int

Gets the colour of the layer as 0xRRGGBB.