Inherits: Component < DesignItem < ScriptObject

A component object refers to a complete component in a design (e.g. “IC14” or “R31”). In a schematic design, components are composed of multiple gates which are represented by SymbolInstance. In a PCB design, they have only one symbol instance which is their actual footprint.

The symbol instances of a component contain information about a component’s layout on a design.

Properties

NameTypeGet/SetBrief
FittedboolYes/YesWhether this component is fitted on the current variant.
GateCountintYes/NoThe number of gates in this component.
InstanceSymbolInstanceYes/NoNo description provided.
NamestrYes/YesThe component name for this component (e.g. “R1”, “U41” etc).
PartPartYes/NoThe part that this component is an instance of.
PinCountintYes/NoThe number of pins on this component.
SymbolInstancesArray[SymbolInstance]Yes/NoThe symbol instances belonging to this component.

Property Details

Fitted

Type: bool

Whether this component is fitted on the current variant.


GateCount

Type: int

The number of gates in this component.


Instance

Type: SymbolInstance


Name

Type: str

The component name for this component (e.g. “R1”, “U41” etc).


Part

Type: Part

The part that this component is an instance of.


PinCount

Type: int

The number of pins on this component.


SymbolInstances

Type: Array[SymbolInstance]

The symbol instances belonging to this component.