License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Can a object request information from placed zones?

Anonymous
Not applicable
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:

First Floor: #####
Second Floor: #####
Total Living: #####
ETC............
or am I just dreaming
21 REPLIES 21
Barry Kelly
Moderator
It seems that what I want to do can't be done then.
Let me explain a little better what I am doing as you or someone else may have another solution.

In fact as I write this I think I have just solved it.

What I have is a whole bunch of different windows (and doors) in my library.
I need to output information from them such as height, width area, thermal transmitance of the unit, shading height and width, etc. for use in an energy efficiency calculation.
This all writes to an external text file so that I can cut and paste the information into a spredsheet (created by others) for the calculations.
Everything works fine.

But what I wanted was the room name that the door/window belongs to.
I thought zones would be ideal for this as I can also set up an automatic room name stamp for the plans as well get the room name for the door/window.
At the moment I have a value list of names the user can choose from manually.

Because I have many different doors and windows it made sense to run the script that writes the text file from a macro so I could just have the one script to alter if need be.
So I needed to parse the value of the zone name to the macro - but of course couldn't.

What I just realized though is that I can REQUEST the same zone information from within the macro itself and can then output this to the text file.

A simple solution really for what seemed to be impossible.
Maybe if I had explained this in the first place you would have suggested the same thing.

I'm still annoyed that you can't trap the value of the REQUEST variable for use in other areas.

Thanks again for being so helpful.

Barry.
One of the forum moderators.
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
Frank Beister
Moderator
I do believe that the REQUEST returns the correct name if the property-script is running. Create a certain key in your database to assigne the requested name to this key. Then you can create a list of the windows, which contains the name.
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm