connect_to_component#
- CircuitPins.connect_to_component(assignment, page_name=None, use_wire=False, wire_name='', clearance_units=1, page_port_angle=None)#
Connect schematic components.
- Parameters:
- assignment
ansys.aedt.core.modeler.circuits.object_3d_circuit.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=True
. The default is""
.- clearance_units
int
,optional
Number of snap units (100mil each) around the object to overcome pins and wires.
- page_port_angle
int
,optional
Page port angle on the source pin. The default is
None
, in which case the angle is automatically computed.
- assignment
- Returns:
- bool
True
when successful,False
when failed.
References
>>> oPadstackManager.CreatePagePort