Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

How to create a multi-floor 2d object?

Anonymous
Not applicable
Hi everyone,

Can anyone help me achieve the following in GDL :

I'd like to create a 2D GDL object that appears on multiple floors.
So, for example, you place it on floor n°1 and it appears on every floors (or only the ones you select).
You can then move or rotate it on any floor.

I haven't been able to find any information in the Reference Guide, I hope someone here will be able to help me.

Thanks!

Johan
3 REPLIES 3
Barry Kelly
Moderator
In the object settings you can set any object to ...
Unfortunately you can pick specific storeys.

I have never tried but possibly you could use REQUEST("Story-info".....) to get all the storey info and set up a parameter list of the storey names of which you could then choose one.
You might need multiple parameters if you want to set more than one individual storey.
Then use REQUEST("Story"........) to get the current storey and if that matches to any of the storey parameters then draw your 2D object.
As I say I have not tried this so this is just a theory.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Anonymous
Not applicable
Thank you Barry,

I was able to do exactly what what I wanted to in a quick test.

I have one last question though : Is it possible to hardcode the "show on all stories" in the GDL script?

Johan
Barry Kelly
Moderator
Not that I know of as it is not an object setting but the object tool setting.
You could set up a favourite that activates that object with the show on all stories setting.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11