Documentation
About Archicad's documenting tools, views, model filtering, layouts, publishing, etc.

How to show Master ID in Zone Stamps in AC17?

Anonymous
Not applicable
Hi!

We're working on a mixed use development in which we've modelled apartment layouts as modules and hotlinked them into a teamshare model. Each hotlink is given a master ID representing the apartment number.

Within each apartment module, we've drawn a zone to the full extents of the apartment footprint with the apartment type as the Zone Name, and left the ID blank. The intention is for this zone to be visible on an overall plan view with apartment type and apartment number shown in the zone stamp.

The problem is that the Master ID doesn't seem to show on the zone stamp. I can see the Master ID added on to the zone ID under Tags & Categories, but the zone stamp only shows the zone ID without the Master ID appended.

Can anyone help?

Thanks!
25 REPLIES 25
Ed_Brown
Graphisoft Alumni
Graphisoft Alumni
Here is what the above source file would look like in the host project.
Graphisoft Technical Support
Dennis Lee
Booster
Hi, does this mean that the Zone stamp created in the module can now show the Master ID in the host file?

Can we modify the zone stamp gdl file to be able to do this? With my limited GDL skills, the zone stamp gdl is WAY too complicated for me to try to modify.

Can anyone help?
ArchiCAD 25 & 24 USA
Windows 10 x64
Since ArchiCAD 9
Laszlo Nagy
Community Admin
Community Admin
Well, based on Ed's post YES, Zone Stamps should be able to do that.
I suppose one would have to find the line in the Zone Stamp 2D Script that generates the ID displayed in the Zone Stamp, and modify that to add the Master ID to its beginning.
Unfortunately I am not that familiar with Zone Stamps either to be able to give a step by step guide on it.
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-Ac28
Anonymous
Not applicable
Ed wrote:
GDL Gurus,

There is now a new GDL REQUEST syntax. It is available from AC 18 build 4020 and on.

New Master ID query (from v18 4020):
result = REQUEST("Full_ID_of_parent", "", id)


It will work with the Label, D/W Marker, and Zone Stamp.
Here is an example:
dim id[]
n = REQUEST("Full_ID_of_parent", "", id)
for i = 1 to vardim1 (id)
text2 0, 0, id
next i

** Note the value is returned in an array !



Here is a sample of how the Curtain Wall DW Label works in 19 (and how you can get it to work in 18 )

The masterID_source.png shows the GDL code snippet beside the placed and labeled element. This is from the file that will be the source hotlink:



Dear Ed

I am not a GDL guru....how can I get the Hotlink MasterID into a Door Marker in AC18 (4031)?
Anonymous
Not applicable
Hi, I have related problem. I'm trying to make zone schedules according to Master ID. I have modified stamp to show only MasterID how ever i have problem to transfer value to Interactive schedule... how should i define variable to get result outside zone stamp?

Definitely not a gdl master... Spent whole day on it
Laszlo Nagy
Community Admin
Community Admin
I think this is something that became possible only in AC18. Master ID came in AC17 as a new feature but the ability to show it in Zone Stamps came only in hotfix 4020 of AC18:

http://archicad-talk.graphisoft.com/viewtopic.php?t=44661&start=19

This was because additional GDL development was needed so GDL-based elements (like a Zone Stamp) could also access the MasterID info. This is why this was not available in AC17 and initially in AC18.

AC19 Zone Stamps are now scripted to offer to show the Compact Element ID or the Full Element ID (Master ID + Compact Element ID).
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-Ac28