<?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 Re: Zone Relations in Master Script in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64013#M36138</link>
    <description>@Ben&lt;BR /&gt;
PARAMETERS does &lt;B&gt;only&lt;/B&gt; work, if you are in settings dialog of the object or in the gdl editor. It does not work if you make changes in the floor plan or in 3D. Not even if you change parameters by moveable hotspots.</description>
    <pubDate>Wed, 19 Oct 2005 10:10:16 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2005-10-19T10:10:16Z</dc:date>
    <item>
      <title>Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64006#M36131</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Can anyone tell me if they see a reason this code snippet would do nothing in the Master Script:
&lt;PRE&gt;	zn = REQUEST("Zone_relations", "", cat_name, cat_code, room_name, room_number)
	PARAMETERS  cat_name = cat_name
	PARAMETERS  cat_code = cat_code
&lt;/PRE&gt;

It does not generate an error, but it also does not pass the values to the parameter list.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Oct 2005 15:41:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64006#M36131</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-10-17T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64007#M36132</link>
      <description>Where does it not work? Plan? Edit mode?&lt;BR /&gt;
&lt;BR /&gt;
Maybe this can not work, because the Zone relations are not requestable, if you are in settings dialog.&lt;BR /&gt;
&lt;BR /&gt;
Maybe this REQUEST does not work in running the MASTER/PARAMETER-Script, but only e.g. 2D?&lt;BR /&gt;
&lt;BR /&gt;
Maybe your object is not placed in the area of a zone stamp?&lt;BR /&gt;
&lt;BR /&gt;
Just some guessing.</description>
      <pubDate>Tue, 18 Oct 2005 07:38:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64007#M36132</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-10-18T07:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64008#M36133</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;Where does it not work? Plan? Edit mode?&lt;/BLOCKQUOTE&gt;

The parameters do not show up in the Edit Settings dialog, nor does their value make it into the object in Plan.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Maybe this can not work, because the Zone relations are not requestable, if you are in settings dialog.&lt;/BLOCKQUOTE&gt;

The REQUEST I have in the 2D script works fine. It's only the one in the Master script that does not work.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Maybe this REQUEST does not work in running the MASTER/PARAMETER-Script, but only e.g. 2D?&lt;/BLOCKQUOTE&gt;

That's what I'm afraid of.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Maybe your object is not placed in the area of a zone stamp?&lt;/BLOCKQUOTE&gt;

I checked that one. I'm not THAT oblivious &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 18 Oct 2005 12:55:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64008#M36133</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-10-18T12:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64009#M36134</link>
      <description>&lt;BLOCKQUOTE&gt; I'm not THAT oblivious.&lt;/BLOCKQUOTE&gt;

Just an idea. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Sometimes its that easy to help.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;The REQUEST I have in the 2D script works fine. It's only the one in the Master script that does not work.&lt;/BLOCKQUOTE&gt;

Is that a &lt;B&gt;REQUEST("Zone_relations", &lt;/B&gt; too?&lt;BR /&gt;
&lt;BR /&gt;
You are using two things: REQUEST and PARAMETERS. Last one does not work each running of the script. Maybe REQUEST gives a result, but in this running-environment of the script the PARAMETERS does not work and other way round. Try it without using PARAMETERS. Try it with another statement, which shows, if theres a result. Something like LINE2 0,0,cat_code,cat_code or PRINT cat_code.&lt;BR /&gt;
Have you tried to activate the "Eigenschaften"-Script (sorry have ony the german name by hand), by putting some statements for it inside. Maybe both statements work in this context and the script will be run through after changig some parameters in the settings dialog.</description>
      <pubDate>Tue, 18 Oct 2005 13:20:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64009#M36134</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-10-18T13:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64010#M36135</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;&lt;BLOCKQUOTE&gt; The REQUEST I have in the 2D script works fine. It's only the one in the Master script that does not work.&lt;/BLOCKQUOTE&gt;

Is that a &lt;B&gt;REQUEST("Zone_relations", &lt;/B&gt; too?&lt;/BLOCKQUOTE&gt;

It's the exact same REQUEST statement. I tried placing it in the Master script to get the values to show up in the parameter list (so I can access them from an add-on).&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Have you tried to activate the "Eigenschaften"-Script (sorry have ony the german name by hand), by putting some statements for it inside. Maybe both statements work in this context and the script will be run through after changig some parameters in the settings dialog.&lt;/BLOCKQUOTE&gt;

I'm not familiar with that. What does it do? A quick Google-translate tells me the word means "Characteristics".... maybe the "Properties" script?&lt;BR /&gt;
&lt;BR /&gt;
I have not worked with that before... maybe it's time to start?</description>
      <pubDate>Tue, 18 Oct 2005 13:42:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64010#M36135</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2005-10-18T13:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64011#M36136</link>
      <description>Yes property script. Thanks. I think this REQUEST is quiet interesting to feed the listings. So I thought it will work in the time this script is running. Maybe the PARAMETERS statement works in this case too.&lt;BR /&gt;
&lt;BR /&gt;
It's years ago I programmed the property script for a zone stamp. I used an existing script for learning and as base for new code. Just copy some of this statements (like COMPONENTS) inside the script to make the gdl-parser work in this context. Elsewhere it will not even run.</description>
      <pubDate>Wed, 19 Oct 2005 06:37:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64011#M36136</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-10-19T06:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64012#M36137</link>
      <description>Hi Tom&lt;BR /&gt;
&lt;BR /&gt;
Try changing something in the part and see if the parameter updates. I have had issues when passing values to parameters where they will only pass once the object has been changed in someway.&lt;BR /&gt;
eg I have passed the north direction of a window into a parameter but the parameter only updates when the window is modified.</description>
      <pubDate>Wed, 19 Oct 2005 09:24:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64012#M36137</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2005-10-19T09:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Zone Relations in Master Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64013#M36138</link>
      <description>@Ben&lt;BR /&gt;
PARAMETERS does &lt;B&gt;only&lt;/B&gt; work, if you are in settings dialog of the object or in the gdl editor. It does not work if you make changes in the floor plan or in 3D. Not even if you change parameters by moveable hotspots.</description>
      <pubDate>Wed, 19 Oct 2005 10:10:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Zone-Relations-in-Master-Script/m-p/64013#M36138</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-10-19T10:10:16Z</dc:date>
    </item>
  </channel>
</rss>

