GDL
About building parametric objects with GDL.

DRAWING3{2} vs PROJECT2{2}

Michael W
Contributor

Can anyone provide some insight into the difference between these two scripts? More specifically, in what circumstance would I use a DRAWING3{2} instead of a PROJECT2{2} command? 

13th Gen Intel(R) Core(TM) i9-13900HX 2.20 GHz, 64 GB RAM, Nvidia GeForce 4050 Laptop GPU 32GB, 2 TB PCIe 4.0 NVMe SSD
1X32" (3840x2160), WIN11 PRO ENG, AC9-AC27
3 REPLIES 3
Lingwisyer
Guru

"These commands only take effect when a list of elements is created."

 

Might it have something to do with the UI script, UI_INFIELD{4}?

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
runxel
Hero

You can basically ignore DRAWINGx and its siblings.

Before we had the Interactive Schedules the only way to get meaningful content out of Archicad were the (now called oldstyle) Lists.

You would need to be proficient in arcane ways tho: The (very powerful, I give 'em that) idea was to script so called Property Objects – not to be confused with the modern properties we have now. That's why we still have the "Property Script" in the GDL editor pane.

These Propery Objects could then be connected with other placed objects. The lists would be generated from the former however. So we need the DRAWINGx command. It can be used to display the listed or referenced object in the list (the manual designates the term "virtual object").

All in all this is now still somewhat supported but more or less defunct in useful ways I think. I never bothered to tinker with it. The Schedules are the way forward.

Lucas Becker | AC 27 on Mac | Graphisoft Insider Panelist | Author of Runxel's Archicad Wiki | Editor at SelfGDL | Developer of the GDL plugin for Sublime Text | My List of AC shortcomings & bugs | I Will Piledrive You If You Mention AI Again |

POSIWID – The Purpose Of a System Is What It Does /// «Furthermore, I consider that Carth... yearly releases must be destroyed»
Michael W
Contributor

Thanks for the background runxel. Makes sense. 

13th Gen Intel(R) Core(TM) i9-13900HX 2.20 GHz, 64 GB RAM, Nvidia GeForce 4050 Laptop GPU 32GB, 2 TB PCIe 4.0 NVMe SSD
1X32" (3840x2160), WIN11 PRO ENG, AC9-AC27

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!