RecipesAutoLISP
How do I turn an AI prompt into an AutoCAD command I can type?
Send the prompt once, then use Save as command on that message and give it a name such as CADWALLS. From then on, typing CADWALLS at the AutoCAD command line sends the saved prompt to cadssistant as a normal message. A prompt can carry parameters written as {layer} or {layer=A-WALL}; the command asks for each one on the command line, with the default in angle brackets, exactly like a built-in command. Your commands are available whenever the palette is open and are managed in Settings; up to twelve per account.
Checked 2026-10-30
count the blocks on layer A-WALL and list their insertion points
Paste it into the palette, or pick it from the recipes inside the chat.
What cadssistant does
- Send the prompt as usual. On your message, choose Save as command and name it: a letter, then letters, digits or underscores, up to 25 characters, for example CADWALLS.
- Type CADWALLS at the AutoCAD command line: the saved prompt lands in the chat as your message and runs as a normal turn.
- To parameterise it, write {layer} or {layer=A-WALL} in the prompt before saving: the command prompts "layer <A-WALL>:" on the command line and substitutes your answer. Up to four parameters per command.
- Commands work while the palette is open, and Settings lists, edits and deletes them.
Good to know
- A saved prompt is a normal metered message when it runs.
- Typing the command while a task is running queues it until the chat is free.
More in autolisp
Command: CADSSISTANT
Works in AutoCAD 2024 and newer on Windows. Free trial, no card, no API key.
Get cadssistant