add_line_xy#

MotorCAD.add_line_xy(x_start, y_start, x_end, y_end)#

Add a line to the Motor-CAD axial geometry with an x, y coordinate system.

Parameters:
x_startfloat

Start position for the x coordinate.

y_startfloat

Start position for the y coordinate.

x_endfloat

End position for the x coordinate.

y_endfloat

End position for the y coordinate.

.. deprecated:: 0.6.0

add_line_xy will be removed with Motor-CAD 2025R2 (tentative). Functionality replaced by adaptive templates.