AutoCAD Plugin
The Algomim AutoCAD plugin connects AutoCAD to the AI assistant, letting you create and modify drawings, manage layers, query objects, and automate tasks through conversation.Supported Versions
- Autodesk AutoCAD 2023
- Autodesk AutoCAD 2024
- Autodesk AutoCAD 2025
- Autodesk AutoCAD 2026
Installation
Download the installer
Download the AutoCAD plugin installer from the Settings page in chat.algomim.com.
The plugin installs to
%AppData%\Autodesk\ApplicationPlugins\AlgomimAutoCAD.bundle\.Connecting to Algomim
Get your PIN
In the Algomim web app, start a new chat and click the Connect button (plug icon). Copy the 6-digit PIN.
What You Can Do
The AI writes C# scripts using the AutoCAD .NET API. Common operations include:Drawing & Geometry
- Draw lines, polylines, circles, arcs, and other geometric primitives
- Create and modify blocks and block references
- Hatch areas and add dimensions
Layers & Organization
- Create, rename, and manage layers
- Set layer colors, linetypes, and properties
- Move objects between layers
Object Manipulation
- Select, move, copy, rotate, scale, and mirror objects
- Modify object properties (color, linetype, lineweight)
- Explode blocks and join entities
Data & Queries
- List objects by type or layer
- Count elements
- Read and write extended data (XData)
Script Context
When the AI writes C# scripts for AutoCAD, it has access to these context variables:| Variable | Type | Description |
|---|---|---|
doc | Document | The active AutoCAD document |
db | Database | The drawing database |
ed | Editor | The editor for user interaction and selection |
Troubleshooting
ALGOMIM command not recognized
ALGOMIM command not recognized
- Check that the plugin bundle exists in
%AppData%\Autodesk\ApplicationPlugins\ - Restart AutoCAD after installation
- Type
NETLOADand manually load the Algomim DLL if needed
Connection issues
Connection issues
- Verify your internet connection
- Generate a new PIN if the current one expired
- Check firewall settings for outbound WebSocket connections