Can a object request information from placed zones?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-12-06 02:01 AM
First Floor: #####
Second Floor: #####
Total Living: #####
ETC............
or am I just dreaming

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-12-06 04:41 AM
hhd801 wrote:it's what zone stamps do isn't it? you could use an existing one or look at an existing stamp's GDL to see how it works . . .
I have a title block object and would like it to request Square footage from placed zones to calculate square footage to reflect in my object:
HTH
~/archiben
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-12-06 05:02 PM
Makes sense to me but I am probably out in left field.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-12-06 05:26 PM
The answer is "kind of"
You can use the REQUEST statement to get the Category, Name, and Room Number. I don't believe you can access areai, perimeter, or volume though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-12-06 06:02 PM
Tom,
Thanks for the insight
I will do some more research. If I find something new I will post it.
Any other suggestions are greatly appreciated.
Thanks again

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-03-16 10:32 PM
hhd801 wrote:It's ugly, but the Zones could write to a text file that your object then reads...
I appreciate all the responses on this topic. This board really helps having great people willing to help each other out.
Tom,
Thanks for the insight
I will do some more research. If I find something new I will post it.
Any other suggestions are greatly appreciated.
Thanks again

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-06-01 08:41 AM
TomWaltz wrote:I am just trying to do exactly this but with no luck so far.
I think your question is whether non-Zone objects can report information about Zones.
The answer is "kind of"
You can use the REQUEST statement to get the Category, Name, and Room Number. I don't believe you can access areai, perimeter, or volume though.
I actually want my window to report which room zone it belongs to.
Couldn't get that to work so I just created a new object that just draws a circle in 2D and I place that object in a zone.
In the script (tried both master and 2D scripts) I have added the requests....
dummy=REQUEST("Zone_relations", "", cat_1, code_1, name_1, num_1, cat_2, code_2, name_2, num_2)
and
dummy_2=REQUEST("Zone_category", "", catname, catcode)
In both cases I get nothing returned in the variables.
However a zone stamp requesting exactly the same works fine for "zone category" but nothing for "zone relations".
I assume "zone category" only works with zone stamps and "zone relations" is for objects, but it doesn't seem to work.
Has anyone had any luck in this area or be able to shed some light on the subject please?
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-06-01 08:50 AM
ZONE_RELATION I got working a while ago. No time to test, but some hints: The zones are manual or automatic ones? There are double layered zones in this area? Zones are visible?
What is the return value of the command?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-06-01 09:05 AM
F. wrote:Yep, zones are on and I have tried both manually placed and flood fill zones.
The request for ZONE_CATEGORY is fors zone stamp objects only.
ZONE_RELATION I got working a while ago. No time to test, but some hints: The zones are manual or automatic ones? There are double layered zones in this area? Zones are visible?
What is the return value of the command?
There are no overlapping zones.
I am simply getting "0" for the return of the REQUEST and for the variables.
I am checking this with a simple "PRINT" command in the 2D script.
Barry.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2006-06-01 09:09 AM
Barry wrote:You are right that "Zone_category" applies only to zone stamps and "Zone _relations" is for library parts. I have been doing a good bit of work with the latter lately and they are working as well as they can (I do wish the library parts could get more out of the zone than just name, rank and serial number). You do need to make sure that the part is actually in the zone - this is not always as obvious as it might seem.
I actually want my window to report which room zone it belongs to.
Couldn't get that to work so I just created a new object that just draws a circle in 2D and I place that object in a zone.
In the script (tried both master and 2D scripts) I have added the requests....
dummy=REQUEST("Zone_relations", "", cat_1, code_1, name_1, num_1, cat_2, code_2, name_2, num_2)
and
dummy_2=REQUEST("Zone_category", "", catname, catcode)
In both cases I get nothing returned in the variables.
However a zone stamp requesting exactly the same works fine for "zone category" but nothing for "zone relations".
I assume "zone category" only works with zone stamps and "zone relations" is for objects, but it doesn't seem to work.
Has anyone had any luck in this area or be able to shed some light on the subject please?
Barry.
Doors and windows can be a little tricky and as I recall the docs are misleading (if not actually wrong). The zone that the part is in is determined (as far as I can tell) only by its center of gravity (so to speak). That is to say what ever zone it is predominantly in. I have made a little dynamic hotspot to act as a switch for this purpose in door and window tags.