Modifing a Zone Stamp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-03-29 09:57 PM
We are pulling out our hair here trying to fumble through customizing our Zone Stamp. We like the Zone Identifier 2 and have been able to manipulate the variables we want to see in our Room Finish Schedules/Info Box. Our problem is that we do not want the Frame box to size according to the Zone Name. We would like it to size according to the width of the Room Number/Room Area etc.
Any help would be appreciated.
Since we do not know much about GDL programming, does anyone know a good resource for GDL in ArchiCAD 9, or is the GDL Cookbook ok to look at for Version 9 GDL?
TIA
ArchiCAD USA 28-Build 3110 USA FULL
Windows 11 Prof (64 bit) - Intel i9-14900K CPU 3.20 GHz - 64 GB RAM - NVIDIA RTX 5000 Ada Generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-03-31 01:55 AM
Re: the box sizing...
Look for STW(ROOM_NAME) in the script. It returns the real width of the actual string in meters at the current scale. Change the parameter (inside the parentheses) ROOM_NUMBER. That should do the trick.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-03-31 03:16 PM
Thanks for the reply. I could not find any script with STW(ROOM_NAME) or anything with STW in it. I did find this:
if box_y and n then
pen Pen_Box
line2 0,-shight,0,-vlen
line2 max_len,-shight,max_len,-vlen
add2 0,-shight
for i=0 to n
if inline then
line2 0,-i*shight2, max_len, -i*shight2
else
if i=0 or i=n then line2 0,-i*shight2, max_len, -i*shight2
endif
next i
del 1
endif
box_y is the variable which turns the text box on/off. I see max_len in this part of the script...does this have anything to do with the box width?
We have another zone stamp that we have been using that works great...but does not have a room area option. I have tried looking through both codes...but I just don't know enough about GDL at this time to figure it out. I will look through the cookbook and some of the info at Graphisoft to learn more about GDL scripting.
Thanks for your help.
ArchiCAD USA 28-Build 3110 USA FULL
Windows 11 Prof (64 bit) - Intel i9-14900K CPU 3.20 GHz - 64 GB RAM - NVIDIA RTX 5000 Ada Generation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-03-31 04:07 PM
This is in the line
max_len = max (w_roonu, w_code) !*** width of the stamp
Then you have to keeo working backwards, finding out what w_roonu and w_code are.
Using the "Find" command, you learn:
w_roonu = (stw (num_str)) * num w_code = (stw (code_string)) * codeNow you can look up the STW function in the GDL manual that comes with Archicad (as a PDF or in the Help files), and find out that STW returns the actual "model space" length of your text string, making it the perfect function to size your box.
Again, using "Find" you can learn that num_str is:
num_str=" "+ROOM_NUMBER+" "Hopefully this points you in the right direction!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-03-31 09:10 PM
I figured it out!
With your help and a bit of running through the script...and some trial and error. I had to change a few more lines of code and now everything looks good. I am now going to add some variables and link it to an interactive schedule.
Thanks for the help and direction.
ArchiCAD USA 28-Build 3110 USA FULL
Windows 11 Prof (64 bit) - Intel i9-14900K CPU 3.20 GHz - 64 GB RAM - NVIDIA RTX 5000 Ada Generation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-04-01 02:59 PM
You can insert max eleven bawls
into desired order
Isn't perfect but even bad
at Cigraph's downloads
or ArchiCLASS's downloads
NB it's in italian
CU mirco
www.cad3d.it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-04-01 03:16 PM
CU wrote:Its hard to tell exactly what this "SmArt" is but it looks interesting. Where can we find more info about it in english?
Try this : SmArT (m)
You can insert max eleven bawls
into desired order
Isn't perfect but even bad
Dan K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-04-01 03:44 PM
Its hard to tell exactly what this "SmArt"??
It's a normal (Zone) Stamp.
Where can we find more info about it in english?I don't think so
This object is not new but it has never been
created with different languages (to Italian)
CU mirco
www.cad3d.it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-04-04 07:25 PM
Dan wrote:How is your Italian?
Where can we find more info about it in english
This is a global forum.
ArchiCAD since 4.55 ... 1995
HP Omen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2005-04-04 11:57 PM
Djordje wrote:Unfortunately, I don't speak any Italian. It seems like this zone has some interesting functionality and I would like to learn more about. Maybe there's an Italian/English speaking member of this forum who could provide more information about this zone object.Dan wrote:How is your Italian?
Where can we find more info about it in english
This is a global forum.
From what I can tell from the posted image, It looks like it gives you the ability to select multiple parameter values from a value list. this could be very useful...I'm curious why Graphisoft doesn't offer a similar zone in its basic library...
Dan K