get_pin_location#
- MaxwellCircuitComponents.get_pin_location(assignment: int, pin: str) list#
Retrieve the location of a pin.
- Parameters:
- assignment
int ID of the part.
- pin
Name of the pin.
- assignment
- Returns:
ListList of axis values
[x, y].
References
>>> oEditor.GetComponentPinLocation
Examples
>>> from ansys.aedt.core import Circuit >>> aedtapp = Circuit() >>> sch = aedtapp.modeler.schematic >>> components = aedtapp.modeler.schematic.components >>> c = components[1] >>> c_location = sch.get_pin_location(c.id, c.name)