EST. 2026 — Notes from real server work SYSADMIN · SECURITY · AI · DIRECTADMIN Issue 01
THE SYSADMIN ALMANAC
Home / Tags / AutoCAD
AutoCAD

#AutoCAD

1 articles
3D / Eng
Driving AutoCAD from PowerShell via COM — Scripted Drafting
AI

Driving AutoCAD from PowerShell via COM — Scripted Drafting

AutoCAD exposes COM for scripting just like Excel. Connect to the running instance with New-Object, then draw lines, circles, text, and 3D boxes, create layers, add dimensions, and save files entirely from PowerShell, with four traps I hit myself and learned never to repeat.

#autocad#powershell#com#automation
8 min read·27 Aug