I am trying to automate some drawing tasks in AutoCAD using Python. For this purpose, I use comtypes. I can start AutoCAD and draw a line:
from comtypes.client im