GLOB_ID to any parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-26 03:58 PM
How do i link GLOB_ID with another parameter?
I want my parameter to copy from GLOB_ID. So I can edit my "GLOB_ID" in schedules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-26 05:27 PM
So you have to simply list the "Element ID" in the Schedule and you can modify its value in Schedules. No need for this workaround.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-27 10:31 AM
laszlonagy wrote:Thank you 😃 But could I get the Element ID to my Interface?
The GLOB_ID global parameter of GDL returns the value that you set in the ID field in the Tags and Categories panel of an element.
So you have to simply list the "Element ID" in the Schedule and you can modify its value in Schedules. No need for this workaround.
I just like to write this code:
UI_OUTFIELD "Littera:", xIf[3],yIf,yText,20,1 UI_INFIELD "GLOB_ID", xIf[4],yIf-5,105,20 : yIf = yIf+yIfDiffBut which code should I use there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-27 12:14 PM
It will return the value of the Element ID of the element. But you can not set the value of the GLOB_ID in any way.
You can only set the Element ID in the ID field in the Tags and Categories panel.
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-10-27 01:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-04-21 04:30 PM
Hi there,
Does GLOB_ID still works the same in AC26?
you still cant set ID to change by variable?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-04-21 05:33 PM
I use GLOB_ID and then split the string and set a few parameters, then I can control the entire object with the id
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-04-26 01:31 PM
Yes, it still works the same way.
So, if I understand your request correctly, you would like to be able to specify the value of the Element ID by a formula or expression, and not have to enter it manually.
I can think of two routes nowadays:
1. Element ID Manager - this can change Element IDs based on a few simple criteria and rules. This has been available in Archicad for many years but it is limited in what it can achieve.
2. Python - you can use Python scripts in Archicad to renumber Element IDs. I think Python is available for users with SSA/Forward. and There are some examples on this page: https://graphisoft.com/downloads/python#try
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2023-04-26 02:49 PM
Yeah OK thank you for replay.
I was hoping to make a label that shows GDL variable from associated object.