Display malfunction of Graphisoft ID dashboard
Learn more
cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set layer

Is there a way to set "glob_layer" in the script.
1 Reply 1
Barry Kelly
Moderator
No, GLOB_LAYER can only tell you what layer an object has been placed in.
It doesn't allow you to set the layer.
There is no way to do that through GDL.

The best you can do if you want an object in a particular layer is to have a "Preferred_layer" parameter in the object with the required layer name as the value.
Then check if it matched the GLOB_LAYER.
If not you can tell the script to show a warning message that the object is in the wrong layer.

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

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!