create_pin_port#

Hfss3dLayout.create_pin_port(name: str, x: float | None = 0, y: float | None = 0, rotation: float | None = 0, top_layer: str | None = None, bottom_layer: str | None = None) BoundaryObject3dLayout | bool#

Create a pin port.

Parameters:
namestr

Name of the pin port.

xfloat, optional

X-axis position of the pin. The default is 0.

yfloat, optional

Y-axis position of the pin. The default is 0.

rotationfloat, optional

Rotation of the pin in degrees. The default is 0.

top_layerstr, optional

Top layer of the pin. The default is None, in which case the top layer is assigned automatically.

bottom_layerstr, optional

Bottom layer of the pin. The default is None, in which case the bottom layer is assigned automatically.

Returns:
ansys.aedt.core.modules.boundary.layout_boundary.BoundaryObject3dLayout or bool

Port object when successful, False when failed.

References

>>> oEditor.CreatePin