We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

REQUEST ("Zone_relations...

Anonymous
Not applicable
Hello.

While using the
REQUEST ("Zone_relations", "", category_name, code, name, number [, category_name2, code2, name2, number2]) I read in the GDL manual that "For doors and windows, there can be a maximum of two zones". By reading this I assume that for other objects there can be more zones (3, 4,...). Is that right?

In this case how can I extract info for the 3rd zone?
1 REPLY 1
Laszlo Nagy
Community Admin
Community Admin
I have not used this command in a long time, but if my memory serves right, it returns only one Zone for element types other than Doors or Windows.
Every Object has a point by which it is placed. I think this command returns the Zone this point is located in.
statuscode = REQUEST ("Zone_relations", "",
category_name, code, name, number
[, category_name2, code2, name2, number2])
Returns in the given variables the zone category name and code and the name and number of the zone where the library part containing this request is located. For doors and windows, there can be a maximum of two zones. The return value of the request is the number of successfully retrieved values (0 if the library part is not inside any zone).
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-Ac27