PointTerminal#
- class pyedb.grpc.database.terminal.point_terminal.PointTerminal(pedb, core)#
Bases:
pyedb.grpc.database.terminal.terminal.TerminalManages point terminal properties.
Overview#
Create a point terminal. |
Whether the terminal is a reference terminal. |
|
Terminal point. |
|
Terminal position. |
|
Reference layer of the terminal. |
|
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.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.
- net
Net - class:
Net
object associated with the terminal.
- name
str Terminal name.
- point[
float,float] [x,y] location of the terminal.
- layer
str 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:
PointTerminalPoint terminal object.