How to create a multi-floor 2d object?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-03-12 10:21 PM
2018-03-12
10:21 PM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-03-13 01:57 AM
2018-03-13
01:57 AM
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.
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-03-14 08:05 AM
2018-03-14
08:05 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-03-14 08:11 AM
2018-03-14
08:11 AM
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.
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
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