Got a minute? We appreciate your feedback:

Graphisoft Learn 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).
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC26
Loving Archicad since 1995

Start a new conversation!

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!