create_port#
- Edb.create_port(terminal, ref_terminal=None, is_circuit_port=False, name=None)[source]#
Create a port.
- Parameters:
- terminalclass:pyedb.dotnet.edb_core.edb_data.terminals.EdgeTerminal,
class:pyedb.dotnet.edb_core.edb_data.terminals.PadstackInstanceTerminal, class:pyedb.dotnet.edb_core.edb_data.terminals.PointTerminal, class:pyedb.dotnet.edb_core.edb_data.terminals.PinGroupTerminal, Positive terminal of the port.
- ref_terminalclass:pyedb.dotnet.edb_core.edb_data.terminals.EdgeTerminal,
class:pyedb.dotnet.edb_core.edb_data.terminals.PadstackInstanceTerminal, class:pyedb.dotnet.edb_core.edb_data.terminals.PointTerminal, class:pyedb.dotnet.edb_core.edb_data.terminals.PinGroupTerminal, optional Negative terminal of the port.
- is_circuit_portbool,
optional
Whether it is a circuit port. The default is
False
.- name: str, optional
Name of the created port. The default is None, a random name is generated.
- Returns
- ——-
- list: [:class:`pyedb.dotnet.edb_core.edb_data.ports.GapPort`,