cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Patrick M
Virtuoso

AI + GDL

I spent way too much time trying to teach chatbots, like chatgpt and gemini, the gdl help manuals/cookbook/etc... every script they threw at me was total garbage.
It turns out the 'full version' of claude is actually really useful for generating scripts, and even includes help guides for setting up parameter lists and trouble shooting bad script!


I threw a complex light fixutre together with a cut sheet, manuf. image, and a basic parameter:
"I need a light fixture from the attached cut sheet and image. It needs hotspots for each arm's angle and length. It needs a parameter for pendant length from the ceiling and a hotspot at the mounting point. max polygon count should be 15,000"

I didn't even need to request a 2d symbol, but I have no doubt it would edit the symbol to be whatever I need it to be given a few revised prompts.

I definitely recommend claude for GDL assistance!

object attached, for anyone curious.

 

Operating system used: Mac Apple Silicon


Screenshot 2026-09-22 at 12.12.04 PM.pngScreenshot 2026-09-22 at 12.12.45 PM.pngScreenshot 2026-09-22 at 9.56.06 AM.png
BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad Version (all of them), on Mac OS (whatever is 1 version older than current)
8 Replies 8
Patrick M
Virtuoso

oh, and the object it fed me the script for was only 6,000 poly. If I 'morf barfed' this, it would have been easily 20,000 poly, and would have been static, except the hang height! this is a game changer for me!

BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad Version (all of them), on Mac OS (whatever is 1 version older than current)
Karl Ottenstein
Moderator Emeritus

Awesome!!  Just an incredible result, Patrick.  Thanks for sharing this and the hours that went into your experiments!

I think Apple gave a hint of who they thought had the best coding assistance in the new XCode which has both agentic and chat coding.   Any additional agents or chat providers can be added, but Apple's defaults are Claude Sonnet/Opus and ChatGPT for chat, and Claude Agent, Codex (OpenAI) and Antigravity (Google) for agents.

Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   •   hardware key   •   macOS Tahoe 26.7 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
David Collins
Expert

This is both amazing and terrifying in equal parts.

I was thinking these AI generated objects would all be in binary, but its GDL and the script is clear and concise. It would be easy to go in and tweak anything that needed an adjustment. (or I suppose, just tell Claude to do it).

So many questions:

Are the comments and notations in the script also coming from Claude? He’s actually explaining what he’s done ?

Did he also decide what parameters would be needed?

Was this done in one pass or were there many permutations needed to finish the object?

Thanks for sharing this.

David Collins

Win11 64bit Intel i9 3.40 Ghz, 64 Gb RAM, GeForce RTX 5080
AC 29.0 (3100 INT FULL)
CosminF
Advisor

Great idea @Patrick M !

I tried this too with the paid version of Chagpt (by stealing your prompt and image) and it gave me the gsm file directly after one iteration:

1.jpg

2.jpg

3.jpg

It first gave me some instructions on how to copy and paste the scripts and where but then the second time round it just gave me the gsm file.

Neat stuff.

edit so I don't post-spam.
it can make guitars too:

g2.jpg

Cosmin Furdui - architect @ Wincon
AC 27, running on Windows 11 Intel(R) Core(TM) i7-14700K CPU64, 3.40GHz, 32GB RAM, Nvidia GeForce RTX5060 32GB
Patrick M
Virtuoso

thats awesome! I didnt ask claude to just give me the .gsm... it seems a little limited in which formats it can take/produce...


it works great for polygon reduction, but only accepts obj
it works great for polyline simplification (surveys), but only accepts DXF

BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad Version (all of them), on Mac OS (whatever is 1 version older than current)
Patrick M
Virtuoso

Hey David! 
it did indeed write all comments and gave parameter lists, names, and default values!

this was one pass. I copy/pasted the scripts in (master script, 3d, 2d, and parameter). I had about a dozen errors found in the script. 4 were due to a parameter typo on my part. 5-6 were due to a parameter matrix error, also on my part. the few script errors it fed me, it found and replaced when I gave it the error message and line found on.

...

it became very obvious that I could have fed it any number of revisions; for a custom symbol, symbol text, additional surface break downs, etc.

...

I had been trying for years to get chatGPT to learn GDL. I swear I lost half my hair in that attempt. This was so night and day by comparison!

BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad Version (all of them), on Mac OS (whatever is 1 version older than current)
Chris Grantham
Advocate

When you say full version, did you use Opus 5.5 or Fable 5.1?

 

16" MacBook Pro M1 Max
Mac OS 26
ArchiCAD 27 Build 6010
Patrick M
Virtuoso

I honestly don't know... its the 2.7032.0 desktop app

BIM solutions and trouble shooting (self proclaimed) expert. Using Archicad Version (all of them), on Mac OS (whatever is 1 version older than current)

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!