Install dynamo for autocad

Hello @jtm2019hyo
there is an example here that you can adapt to draw lines (with Python Code)

method (ActiveX) for Line
https://help.autodesk.com/view/OARX/2018/ENU/?guid=GUID-26C95029-14BB-40B9-9987-49EFC980CB9D