create_lumped_port_on_net#
- EdbHfss.create_lumped_port_on_net(nets=None, reference_layer=None, return_points_only=False, digit_resolution=6, at_bounding_box=True)[source]#
Create an edge port on nets. This command looks for traces and polygons on the nets and tries to assign vertical lumped port.
- Parameters:
- nets
list
,optional
List of nets, str or Edb net.
- reference_layer
str
,Edb
layer. Name or Edb layer object.
- return_points_onlybool,
optional
Use this boolean when you want to return only the points from the edges and not creating ports. Default value is
False
.- digit_resolution
int
,optional
The number of digits carried for the edge location accuracy. The default value is
6
.- at_bounding_boxbool
- When
True
will keep the edges from traces at the layout bounding box location. This is recommended when a cutout has been performed before and lumped ports have to be created on ending traces. Default value is
True
.
- When
- nets
- Returns:
- bool
True
when successful,False
when failed.