pyaltium.sch#

Package Contents#

Classes#

SchLibItem

A single schematic item in a library.

SchLib

Main object to interact with schematic libraries.

class pyaltium.sch.SchLibItem(libref, sectionkey, description, partcount, file_name, lazyload=False)#

Bases: pyaltium.base.AltiumLibItemMixin[pyaltium.sch._record.SchLibItemRecord]

A single schematic item in a library.

Parameters
  • AltiumLibItemMixin ([type]) – [description]

  • libref (str) –

  • sectionkey (str) –

  • description (str) –

  • partcount (int) –

  • file_name (str) –

  • lazyload (bool) –

libref :str#
sectionkey :str#
description :str#
partcount :int#
lazyload :bool#
file_name :str#
draw(ax)#

Create the drawing on the axes

Parameters

ax (matplotlib.pyplot.Axes) –

Return type

None

as_dict()#

Create a parsable dict.

Return type

dict

class pyaltium.sch.SchLib(file_name=None, lazyload=False)#

Bases: pyaltium.base.AltiumLibMixin[pyaltium.sch._item.SchLibItem]

Main object to interact with schematic libraries.

Parameters
  • file_name (str) –

  • lazyload (bool) –