Summarize this content to 100 words: Vibe-coding is a new slang expression for using AI to generate code quickly, even for people who aren’t programmers… such as myself.
In this video, I explore vibe-coding with Revit. I try to automate a task, and ask ChatGPT to do all the work for me. In this example, we’ll try to renumber doors based on the rooms they are placed in.
1- Use Python to Vibe-Code
When using the Python language, you have 3 potential tools to vibe-code:
a) Python Script Node inside Dynamo
If you have rudimentary knowledge about Dynamo, this is the easiest one to get started. We’ll be using this technique in this tutorial.
b) Custom pyRevit tool
This option requires basic knowledge of creating a pyRevit tool in the ribbon. Our mini-course with Erik Frits covers these steps.
c) Revit Python Shell
This is a free plugin where you can run Python code directly. Download here
2- Prepare a Custom GPT
ChatGPT’s knowledge about the Revit API is limited. You have to nudge it a bit. The best way is…