connect_components_in_series

NexximComponents.connect_components_in_series(components_to_connect)[source]

Connect schematic components in series.

Parameters
components_to_connectlist of pyaedt.modeler.Object3d.CircuitComponent

List of Components to connect. It can be a list of objects or component names.

Returns
bool

True when successful, False when failed.

Examples

>>> from pyaedt import Circuit
>>> circuit = Circuit()
>>> myind = circuit.modeler.schematic.create_inductor(compname="L100", value=1e-9, location=[0,0])
>>> myres = circuit.modeler.schematic.create_resistor(compname="R100", value=50, location=[0.002, 0.05])
>>> circuit.modeler.schematic.connect_components_in_series([myind, myres])