Beyond the drawing commands, the scan-into-SQLite step is what changes the workflow: once entities are indexed you can ask SQL questions about a drawing — how many of a thing, where the text matches are — instead of clicking through it. It is Windows-only by construction, since it drives AutoCAD over COM, and it runs from a checkout rather than a package, so budget a few minutes for the virtual environment before the first call.
A Python server that drives AutoCAD through its COM interface, so drawing entities can be created and manipulated from a conversation.
- Drawing primitives created: lines, circles, rectangles, polylines and text
- Entities transformed and located: moved, copied, rotated and highlighted in the drawing
- Layers created or modified, and new drawings started
- The whole drawing scanned into an indexed set of entities, then queried with SQL against the embedded SQLite store
- Text pattern work: occurrences counted, and matches highlighted across the drawing
- PMC control diagrams generated automatically
Windows, AutoCAD 2018 or newer with COM support, and Python 3.10+. There is no published package to launch: clone the repository, create a virtual environment, install from requirements.txt, and point your client's command at that environment's python.exe and server.py. The author states the project is not being actively maintained and welcomes co-maintainers.
