create_page_port#

MaxwellCircuitComponents.create_page_port(name: str, location: list = None, angle: int = 0, label_position: str = 'Auto', page: int = 1) CircuitComponent#

Create a page port.

Parameters:
namestr

Name of the port.

locationlist, optional

Position on the X and Y axis. If not provided the default is None, in which case an empty list is set.

angleint, optional

Angle rotation in degrees. The default is 0.

label_positionstr, optional

Label position. The default is "auto". Options are ‘‘“Center”, ``"Left", "Right", "Top", "Bottom".

page: int, optional

Schematic page number. The default value is 1.

Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponent

Circuit Component Object.

References

>>> oEditor.CreatePagePort

Examples

>>> from ansys.aedt.core import Circuit
>>> aedtapp = Circuit()
>>> p = aedtapp.modeler.schematic.create_page_port("my_port")