create_line#

NexximComponents.create_line(points, color=0, width=0)[source]#

Draw a graphical line.

Parameters:
pointslist

A nested list of point coordinates. For example, [[x1, y1], [x2, y2], ...].

colorstr or 3 item list, optional

Color or the line. The default is "0".

widthfloat, optional

Width of the line. The default is 0.

Returns:
pyaedt.modeler.cad.object3dcircuit.Line

Line Object.

>>> :obj:`oEditor.CreateLine`
    ..