connect_to_component#

CircuitPins.connect_to_component(assignment, page_name=None, use_wire=False, wire_name='', clearance_units=1, page_port_angle=None, offset=0)#

Connect schematic components.

Parameters:
assignmentansys.aedt.core.modeler.circuits.object_3d_circuit.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=True. The default is "".

clearance_unitsint, optional

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

page_port_angleint, optional

Page port angle on the source pin. The default is None, in which case the angle is automatically computed.

offsetfloat, optional

Page port offset in the direction of the pin. The default is 0.

Returns:
bool

True when successful, False when failed.

References

>>> oPadstackManager.CreatePagePort