get_pins#

MaxwellCircuitComponents.get_pins(assignment: int | str) list#

Retrieve one or more pins.

Parameters:
assignmentint or str

One or more IDs or names for the pins to retrieve.

Returns:
type

Pin with properties.

References

>>> oEditor.GetComponentPins

Examples

>>> from ansys.aedt.core import Circuit
>>> aedtapp = Circuit()
>>> sch = aedtapp.modeler.schematic
>>> c = sch.create_capacitor(value=1e-12)
>>> c_pins = sch.get_pins(c.name)