create_path

EdbLayout.create_path(path_list, layer_name, width=1, net_name='', start_cap_style='Round', end_cap_style='Round', corner_style='Round')[source]

Create a path based on a list of points.

Parameters
path_listlist

List of points.

layer_namestr

Name of the layer on which to create the path.

widthfloat, optional

Width of the path. The default is 1.

net_namestr, optional

Name of the net. The default is "".

start_cap_stylestr, optional

Style of the cap at its start. Options are "Round", "Extended", and "Flat". The default is "Round".

end_cap_stylestr, optional

Style of the cap at its end. Options are "Round", "Extended", and "Flat". The default is "Round".

corner_stylestr, optional

Style of the corner. Options are "Round" and "Flat". The default is "Round".

Returns
bool

True when successful, False when failed.