How ChatGPT changes the way you use AutoCAD
The idea is not to learn to program, but to use AI to “explain” to the software how to become more efficient for us. According to the sources, here is what we can delegate to ChatGPT in a simple way:
- Create new custom commands: If AutoCAD doesn’t have a command to do exactly what you need (for example a particular polygon or autoscale), you can ask ChatGPT to create a small “instruction package” (called LISP) that adds that function to your menu.
- Super-buttons for repetitive actions: You can create a single button that performs a sequence of operations that today you do by hand one by one. An example? An “End of Day” button that checks the file for errors, deletes unused layers, saves and closes everything with a single click.
- Automatic folder cleanup: The AI can write short commands to tidy up your server, instantly deleting all the backup files (.bak) that clutter up your folders or creating a .zip archive of all the drawings of a job in just a few seconds.
- Custom graphic lines: If you need a specific line for the systems (for example a dotted line with the words “GAS” or “C”) ChatGPT can write the code necessary to create it without you having to know the complex syntax of the configuration files.
Practical example: generate all the layers in one second
Instead of manually creating every single layer (walls, furniture, dimensions, etc.) by assigning colors and thicknesses, you can ask ChatGPT to do it for you. It is one of the most immediate ways to standardize the practice’s workflow.
Here are the steps to integrate it:
- Ask the AI: Type a prompt like: “Write an AutoLISP file to automatically create layers for an architectural plan (walls, windows, furniture) with different colors”.
- Create the file: Copy the code that returns ChatGPT, paste it into a simple text file (Notepad) and save it with the .lsp extension (for example my_layers.lsp).
- Load into AutoCAD: Drag the file directly into the AutoCAD drawing area or use the APPLOAD command to load it.
- Run the command: Type the name of the command that ChatGPT created (for example F_LAYERS or MAKE_LAYERS) and you will see your layer table populate instantly.
Expert Tip: It doesn’t have to be perfect the first time! The use of AI is a dialogue. If the code it gives you generates an error, don’t worry: copy the error that appears in the AutoCAD command line and paste it into ChatGPT. The AI will understand where it went wrong and give you the correct version.
The role of the architect: from design to direction
This technology does not replace the designer, but changes his role: from operator to director of the process. As we saw with xFigure, AI makes sense when the image or data are tools for discussion and management, not just final outputs. Our professional experience is fundamental to “closing the gaps” of AI, which can ignore specific system variables or obsolete command options.
For a step-by-step visual guide on how to automate layer creation, I recommend this video example:
The weekly column “Architectural Prompting” is edited by experts Luciana Mastrolia, Giovanna Panucci and Andrea Tinazzo
>> If you are interested in these topics, also sign up to the free Linkedin Newsletter AI & Design for Technicians, we’ll talk about it here!