PointTerminal#

class pyedb.grpc.database.terminal.point_terminal.PointTerminal(pedb, core)#

Bases: pyedb.grpc.database.terminal.terminal.Terminal

Manages point terminal properties.

Overview#

create

Create a point terminal.

is_reference_terminal

Whether the terminal is a reference terminal.

point

Terminal point.

location

Terminal position.

reference_layer

Reference layer of the terminal.

layer

Layer that the point terminal is placed on.

Import detail#

from pyedb.grpc.database.terminal.point_terminal import PointTerminal

Property detail#

property PointTerminal.is_reference_terminal: bool#

Whether the terminal is a reference terminal.

Returns:
bool

True if the terminal is a reference terminal, False otherwise.

property PointTerminal.point: tuple[float, float]#

Terminal point.

Returns:
tuple[float, float]
property PointTerminal.location: tuple[float, float]#

Terminal position.

Returns:
tuple[float, float](x,y])
property PointTerminal.reference_layer#

Reference layer of the terminal.

Returns:
Layer
property PointTerminal.layer#

Layer that the point terminal is placed on.

Method detail#

classmethod PointTerminal.create(layout, net, layer, name, point)#

Create a point terminal.

Parameters:
layout:class: <``Layout` pyedb.grpc.database.layout.layout.Layout>

Layout object associated with the terminal.

netNet
class:

Net object associated with the terminal.

namestr

Terminal name.

point[float, float]

[x,y] location of the terminal.

layerstr

Layer name.

net:class: <``Net` pyedb.grpc.database.net.net.Net>, optional

Net object associated with the terminal. If None, the terminal will be associated with the ground net.

Returns:
PointTerminal

Point terminal object.