Request Zone_Relations in 3D script
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-03-30 02:00 PM
2012-03-30
02:00 PM
I have a problem with the REQUEST Zone_Relations
It's working fine in the 2D script but not in the 3D ?!
I use archicad v15
main script :
nomCat = "" codeCat = "" nomZone = "" codeZone = "" nomCat2 = "" codeCat2 = "" nomZone2 = "" codeZone2 = "" n = request( "Zone_relations", "", nomCat, codeCat, nomZone, codeZone, nomCat2, codeCat2, nomZone2, codeZone2 )2D script :
HOTSPOT2 0, 0 text2 0, 0, codeCat+" / "+nomCat+" / "+codeZone+" / "+nomZone text2 0, 0.5, codeCat2+" / "+nomCat2+" / "+codeZone2+" / "+nomZone23D script :
DEFINE STYLE "aa" "New York", 100, 7, 0 SET STYLE "aa" TEXT 0.005, 0, codeCat+" / "+nomCat+" / "+codeZone+" / "+nomZone ADDY 0.2 TEXT 0.005, 0, codeCat2+" / "+nomCat2+" / "+codeZone2+" / "+nomZone2 ADDY 0.2If i use parameters, it's working in 3D but my object dont' update when i translate it between zone 😕
6 REPLIES 6
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-03 02:15 AM
2012-04-03
02:15 AM
I'm not clear exactly what you mean by "translate between zone" but perhaps you need Design > Update Zones

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-03 06:04 PM
2012-04-03
06:04 PM
I'm guessing that by 'translate between zones' - you mean you move your object from one zone to another and the text displayed by the object doesn't update?
I believe you have to issue a Rebuild command after moving the object so that the master script (which retrieves your zone info) will be run again to obtain the new zone info.
Cheers,
Karl
I believe you have to issue a Rebuild command after moving the object so that the master script (which retrieves your zone info) will be run again to obtain the new zone info.
Cheers,
Karl
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-04 02:05 PM
2012-04-04
02:05 PM
Yes Karl, it's what i mean !
I'm french sorry for my poor english ^^
what is the rebuild command ? I don't find it in the GDL Guide ...
Thanks you !!
I'm french sorry for my poor english ^^
what is the rebuild command ? I don't find it in the GDL Guide ...
Thanks you !!

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-05 02:19 PM
2012-04-05
02:19 PM
jymDeveloppement wrote:I think Karl is referring to the ArchiCAD Rebuild command (from the menu, context menu or keyboard shortcut) that rebuilds the 2D View (in plan) or model (in 3D View). This forces the GDL Scripts to run again.
what is the rebuild command ? I don't find it in the GDL Guide ...
David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-05 04:52 PM
2012-04-05
04:52 PM
I try it and it didn't work ...
And for what I need, it must be automatic :s
And for what I need, it must be automatic :s
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-04-05 09:58 PM
2012-04-05
09:58 PM
I just tested this with a 3D room tag of my own and it has the same problem. The only way the room name or number updates is by opening and closing the settings dialog. Rebuild does not help, nor does update zones. I don't know of any fix for this.