We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Displaying a GDL object on all relevant stories

Anonymous
Not applicable
Hi everyone,

I'm trying to make a GDL object that goes through multiple stories and I'd like to make the 2d projection appear only on the relevant stories based on the objet's size.

I've been unable to do this as of now.

Could somebody point me in the right direction to achieve this?
I've attached an example GSM file to illustrate what I'm trying to achieve.

Thanks!
8 REPLIES 8
Hello Johan Cosandey,

I do not know if I have all understood but you can find my first answer just below :
https://drive.google.com/open?id=1MtaGOsXsNUPtGL_-ypJl5GGboYEBeXKE
Christophe - FRANCE
Archicad Designer and Teacher
Archicad 15 to 27 FRA FULL

OS 11.6 Big Sur - MacBook Pro 2017 - 16Go RAM
"Quality is never an accident ; it's always the result of an intelligent effort" John Ruskin
Anonymous
Not applicable
Hi Christophe,

Thanks for your answer, sadly it does not solve my problem.

What I am trying to do is the following :
Setting the object on "Show on relevant stories" (montrer sur tous les étages appropriés) and having the 2D symbol show on relevant stories depending on the height of the object, but not on every stories.

I already have a workaround which consists on setting the object to "Show on all stories" and not drawing anything on certain stories but this technique is not perfect because even though nothing is drawn on theses stories, you can still select (and move or delete) the object, which is dangerous.
runxel
Legend
Does a projection via project2{4} suffice for your needs or do you actually want to do custom 2d stuff?
Lucas Becker | AC 27 on Mac | 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»
Anonymous
Not applicable
I'd like to to custom 2d stuff 🙂
runxel
Legend
Johan wrote:
I'd like to to custom 2d stuff 🙂
Okay, no big difference.

That's what the ac_bottomlevel and ac_toplevel params are for 😉
Set them accordingly.
Then make clever use of REQUEST ("STORY_INFO") and REQUEST("STORY").
Lucas Becker | AC 27 on Mac | 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»
Laszlo Nagy
Community Admin
Community Admin
There is an earlier discussion about these with a GRAPHISOFT developer.
Hopefully, most or all of what he is saying in the thread still applies today:

https://archicad-talk.graphisoft.com/viewtopic.php?f=6&t=34971
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Anonymous
Not applicable
Thanks a lot!

The answer was lying in the ac_bottomlevel and ac_toplevel parameters.
I defined them in the parameter script and now my object is displaying perfectly on every relevant story.

Johan
The elevator object is a great place to find the code for stories