Layer

class kicad.pcbnew.Layer(id)
static from_id(id)

Get Layer object from id

Parameters:id (int) –
Returns:kicad.pcbnew.Layer
static from_name(name)

Get Layer object from name

Parameters:name
Returns:kicad.pcbnew.Layer
id

internal ID of the layer

Returns:int
name

name of the layer

Returns:unicode
class kicad.pcbnew.LayerSet(layer_set)
get_native()

Get native object from the low level API :return: pcbnew.LSET