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_pin
pyaedt.modeler.circuits.PrimitivesNexxim.CircuitPins
Component pin to attach.
- page_name
str
,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_name
str
,optional
Wire name used only when user_wire is
True
. Default value is""
.- clearance_units
int
,optional
Number of snap units (100mil each) around the object to overcome pins and wires.
- component_pin
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oPadstackManager.CreatePagePort