create_edge_port_horizontal#
- EdbHfss.create_edge_port_horizontal(prim_id, point_on_edge, ref_prim_id=None, point_on_ref_edge=None, port_name=None, impedance=50, layer_alignment='Upper')[source]#
Create a horizontal edge port.
- Parameters:
- prim_id
int
Primitive ID.
- point_on_edge
list
Coordinate of the point to define the edge terminal. The point must be on the target edge but not on the two ends of the edge.
- ref_prim_id
int
,optional
Reference primitive ID. The default is
None
.- point_on_ref_edge
list
,optional
Coordinate of the point to define the reference edge terminal. The point must be on the target edge but not on the two ends of the edge. The default is
None
.- port_name
str
,optional
Name of the port. The default is
None
.- impedance
int
,float
,optional
Impedance of the port. The default value is
50
.- layer_alignment
str
,optional
Layer alignment. The default value is
Upper
. Options are"Upper"
,"Lower"
.
- prim_id
- Returns:
str
Name of the port.