Inherits: Layer < DesignItem < ScriptObject

Inherited by: LayerSpan

Layers make up the electrical and non-electrical slices of a PCB stack.

Properties

NameTypeGet/SetBrief
AllowsBuriedComponentsboolYes/NoWhether buried components are permitted on this layer.
AllowsNormalComponentsboolYes/NoWhether normal components are permitted on this layer.
BiasRoutingBiasYes/NoThe routing bias of this layer.
EmbeddingSideYes/NoThe direction in which this layer is embedded into the adjacent layer. Can only be None, Top or Bottom.
InLayerStackPreviewboolYes/NoWhether this layer should appear in layer stack previews.
LayerClassVariant[LayerClass, none]Yes/NoThe layer class of this layer, if one is assigned.
MaterialVariant[Material, none]Yes/NoThe material of this layer, if there is one.
NamestrYes/YesThe name of this item.
SideSideYes/NoThe side that this layer is on.
ThicknessintYes/NoThe thickness of this layer.
TypeVariant[Type, none]Yes/NoType of this layer’s class, if one is assigned.
UsuallyPlottedboolYes/NoWhether this layer is usually plotted.

Enumerations

RoutingBias

NameValueDescription
None0No description provided.
X1No description provided.
Y2No description provided.
NoAutoroute3No description provided.
MinTrack4No description provided.
PowerPlane5No description provided.
Up456No description provided.
Down457No description provided.
NoTrack8No description provided.

Side

NameValueDescription
None0No description provided.
Top1No description provided.
Bottom2No description provided.
Inner3No description provided.
Outer4No description provided.
All5No description provided.

Property Details

AllowsBuriedComponents

Type: bool

Whether buried components are permitted on this layer.


AllowsNormalComponents

Type: bool

Whether normal components are permitted on this layer.


Bias

Type: RoutingBias

The routing bias of this layer.


Embedding

Type: Side

The direction in which this layer is embedded into the adjacent layer. Can only be None, Top or Bottom.


InLayerStackPreview

Type: bool

Whether this layer should appear in layer stack previews.


LayerClass

Type: Variant[LayerClass, none]

The layer class of this layer, if one is assigned.


Material

Type: Variant[Material, none]

The material of this layer, if there is one.


Name

Type: str

The name of this item.


Side

Type: Side

The side that this layer is on.


Thickness

Type: int

The thickness of this layer.


Type

Type: Variant[Type, none]

Type of this layer’s class, if one is assigned.


UsuallyPlotted

Type: bool

Whether this layer is usually plotted.