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 ID_of_Main In An Object

I want to set the ID that you see in the Listing and Labeling group using code in the object. I tried:

GLOB_ID = STR(pEqNumber, 1, 0)

where pEqNumber is the number the ID should be set to, but it doesn't work. Any ideas?
1 Reply 1
Laszlo Nagy
Community Admin
Community Admin
This is not possible.
The GLOB_ID parameter can read the value you set in that field of the Settigns Dialog, but it does not work the other way around.
When you set the value of GLOB_ID in the GDL script, it changes only there, but does not have any effect on the value that is set in the Settings Dialog.
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-Ac29

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!