In my GDL object Properties script, I have building material and material information that I would like to translate from Index to Name.
For example, I have a building material with index 97 and the name Offices. In my lists, I use the building material as a unit. Right now, I have written
IF bui_mat=97 THEN program="Offices"
which obviously isn't the best way to do it (and is prone to mistakes), but I just can't figure out how to do it. I've tried following guides with different REQUEST codes, but I'm doing something wrong. How do I do this?
Archicad 24-25 SWE Dell Precision 5560, Windows 10 Pro 11th Gen Intel(R) Core(TM) i9-11950H @ 2.60GHz 2.61 GHz