We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2015-10-26 03:58 PM
2015-10-26 05:27 PM
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.
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?
2015-10-27 12:14 PM
2015-10-27 01:57 PM
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?
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
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
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.