connect_to_component#

CircuitPins.connect_to_component(component_pin, page_name=None, use_wire=False, wire_name='', clearance_units=1)[source]#

Connect schematic components.

Parameters:
component_pinpyaedt.modeler.circuits.PrimitivesNexxim.CircuitPins

Component pin to attach.

page_namestr, optional

Page port name. The default value is None, in which case a name is automatically generated.

use_wirebool, optional

Whether to use wires or a page port to connect the pins. The default is False, in which case a page port is used. Note that if wires are used but not well placed, shorts can result.

wire_namestr, optional

Wire name used only when user_wire is True. Default value is "".

clearance_unitsint, optional

Number of snap units (100mil each) around the object to overcome pins and wires.

Returns:
bool

True when successful, False when failed.

References

>>> oPadstackManager.CreatePagePort