<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Request Zone_Relations in 3D script in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135551#M15412</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have a problem with the REQUEST Zone_Relations&lt;BR /&gt;
It's working fine in the 2D script but not in the 3D ?!&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;I use archicad v15&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;main script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;nomCat 		= ""
codeCat 	= ""
nomZone 	= ""
codeZone 	= ""
nomCat2 	= ""
codeCat2 	= ""
nomZone2 	= ""
codeZone2 	= ""

n = request( "Zone_relations", "", nomCat, codeCat, nomZone, codeZone, nomCat2, codeCat2, nomZone2, codeZone2 ) 
&lt;/PRE&gt;

&lt;B&gt;2D script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;HOTSPOT2 0, 0

text2 0, 0, codeCat+" / "+nomCat+" / "+codeZone+" / "+nomZone
text2 0, 0.5, codeCat2+" / "+nomCat2+" / "+codeZone2+" / "+nomZone2
&lt;/PRE&gt;

&lt;B&gt;3D script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;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.2
&lt;/PRE&gt;

If i use parameters, it's working in 3D but my object dont' update when i translate it between zone &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 30 Mar 2012 12:00:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-03-30T12:00:55Z</dc:date>
    <item>
      <title>Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135551#M15412</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello,&lt;BR /&gt;
&lt;BR /&gt;
I have a problem with the REQUEST Zone_Relations&lt;BR /&gt;
It's working fine in the 2D script but not in the 3D ?!&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;I use archicad v15&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;main script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;nomCat 		= ""
codeCat 	= ""
nomZone 	= ""
codeZone 	= ""
nomCat2 	= ""
codeCat2 	= ""
nomZone2 	= ""
codeZone2 	= ""

n = request( "Zone_relations", "", nomCat, codeCat, nomZone, codeZone, nomCat2, codeCat2, nomZone2, codeZone2 ) 
&lt;/PRE&gt;

&lt;B&gt;2D script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;HOTSPOT2 0, 0

text2 0, 0, codeCat+" / "+nomCat+" / "+codeZone+" / "+nomZone
text2 0, 0.5, codeCat2+" / "+nomCat2+" / "+codeZone2+" / "+nomZone2
&lt;/PRE&gt;

&lt;B&gt;3D script :&lt;/B&gt;
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;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.2
&lt;/PRE&gt;

If i use parameters, it's working in 3D but my object dont' update when i translate it between zone &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 30 Mar 2012 12:00:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135551#M15412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-30T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135552#M15413</link>
      <description>I'm not clear exactly what you mean by "translate between zone" but perhaps you need &lt;B&gt;Design &amp;gt; Update Zones&lt;/B&gt;</description>
      <pubDate>Tue, 03 Apr 2012 00:15:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135552#M15413</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-03T00:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135553#M15414</link>
      <description>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?&lt;BR /&gt;
&lt;BR /&gt;
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.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 03 Apr 2012 16:04:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135553#M15414</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2012-04-03T16:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135554#M15415</link>
      <description>Yes Karl, it's what i mean !&lt;BR /&gt;
&lt;BR /&gt;
I'm french sorry for my poor english ^^&lt;BR /&gt;
&lt;BR /&gt;
what is the rebuild command ? I don't find it in the GDL Guide ...&lt;BR /&gt;
&lt;BR /&gt;
Thanks you !!</description>
      <pubDate>Wed, 04 Apr 2012 12:05:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135554#M15415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-04T12:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135555#M15416</link>
      <description>&lt;BLOCKQUOTE&gt;jymDeveloppement wrote:&lt;BR /&gt;what is the rebuild command ? I don't find it in the GDL Guide ...&lt;/BLOCKQUOTE&gt;

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.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Thu, 05 Apr 2012 12:19:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135555#M15416</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2012-04-05T12:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135556#M15417</link>
      <description>I try it and it didn't work ... &lt;BR /&gt;
&lt;BR /&gt;
And for what I need, it must be automatic :s</description>
      <pubDate>Thu, 05 Apr 2012 14:52:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135556#M15417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Request Zone_Relations in 3D script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135557#M15418</link>
      <description>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.</description>
      <pubDate>Thu, 05 Apr 2012 19:58:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Request-Zone-Relations-in-3D-script/m-p/135557#M15418</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-05T19:58:07Z</dc:date>
    </item>
  </channel>
</rss>

