create_trace#

Modeler.create_trace(path_list, layer_name, width=1, net_name='', start_cap_style='Round', end_cap_style='Round', corner_style='Round')[source]#

Create a trace 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", "Sharp" and "Mitered". The default is "Round".

Returns:
pyedb.dotnet.edb_core.edb_data.primitives_data.Primitive