<?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: Q: Can GDL objects pass/exchange parameters? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202559#M16976</link>
    <description>You can have a master object that saves the parameters you want to an external text file.&lt;BR /&gt;
Then all the other objects can be made to read that text file and adjust accordingly.&lt;BR /&gt;
&lt;BR /&gt;
You can also do it using the internal GLOB_USER variables so you don't need to read and write to the text file.&lt;BR /&gt;
You need to be careful that no other library parts use the same GLOB_USER variables for other purposes and there is only a limited number of them.&lt;BR /&gt;
&lt;BR /&gt;
Actually with 14 (and I think 13) you can now use the customisable Model View Options using the LIBRARYGLOBAL command.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Tue, 12 Apr 2011 01:35:43 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2011-04-12T01:35:43Z</dc:date>
    <item>
      <title>Q: Can GDL objects pass/exchange parameters?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202557#M16974</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I never came across any references to this -&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;Can GDL objects be made to pass and exchange parameters&lt;BR /&gt;
between themselves?&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
That could translate into something like:&lt;BR /&gt;
&lt;BR /&gt;
If Table XX is set to "White Wood", then other&lt;BR /&gt;
furniture objects of series XX will AUTOMATICALLY&lt;BR /&gt;
set themselves to "WHITE WOOD" too.&lt;BR /&gt;
&lt;BR /&gt;
or:&lt;BR /&gt;
&lt;BR /&gt;
One creates a "Lever" Object, which when "moved"&lt;BR /&gt;
(by stretchy hotspot, 2D/3D) - send a command to&lt;BR /&gt;
a selected OTHER object to rotate, or move or something.&lt;BR /&gt;
&lt;BR /&gt;
?&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 11 Apr 2011 14:40:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202557#M16974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-11T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Q: Can GDL objects pass/exchange parameters?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202558#M16975</link>
      <description>&lt;BLOCKQUOTE&gt;Gil wrote:&lt;BR /&gt;&lt;B&gt;Can GDL objects be made to pass and exchange parameters between themselves?&lt;/B&gt;&lt;/BLOCKQUOTE&gt;
An object can call another object and pass parameters to it, but this takes place within the context of a single object instance. There is no mechanism for one object instance to pass parameters to another instance. It is possible to do this through the ArchiCAD API, but that's another story...</description>
      <pubDate>Mon, 11 Apr 2011 19:35:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202558#M16975</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-04-11T19:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Q: Can GDL objects pass/exchange parameters?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202559#M16976</link>
      <description>You can have a master object that saves the parameters you want to an external text file.&lt;BR /&gt;
Then all the other objects can be made to read that text file and adjust accordingly.&lt;BR /&gt;
&lt;BR /&gt;
You can also do it using the internal GLOB_USER variables so you don't need to read and write to the text file.&lt;BR /&gt;
You need to be careful that no other library parts use the same GLOB_USER variables for other purposes and there is only a limited number of them.&lt;BR /&gt;
&lt;BR /&gt;
Actually with 14 (and I think 13) you can now use the customisable Model View Options using the LIBRARYGLOBAL command.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 12 Apr 2011 01:35:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202559#M16976</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2011-04-12T01:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Q: Can GDL objects pass/exchange parameters?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202560#M16977</link>
      <description>Barry, Ralph -&lt;BR /&gt;
Thanks, that's along the lines of what I thought could be done. &lt;BR /&gt;
It would create an impossible mess for the concept I was &lt;BR /&gt;
toying with.&lt;BR /&gt;
&lt;BR /&gt;
Oh well, guess that comes with the territory &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
Gil</description>
      <pubDate>Tue, 12 Apr 2011 08:01:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202560#M16977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-04-12T08:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: Q: Can GDL objects pass/exchange parameters?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202561#M16978</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;You can have a master object that saves the parameters you want to an external text file.&lt;BR /&gt;
Then all the other objects can be made to read that text file and adjust accordingly.&lt;BR /&gt;
You can also do it using the internal GLOB_USER variables so you don't need to read and write to the text file.&lt;/BLOCKQUOTE&gt;
These are all global methods, i.e. a change is propagated to all instances. This doesn't mean every instance has to respond to the change, but the data is broadcast globally nonetheless.&lt;BR /&gt;
&lt;BR /&gt;
I think the mechanism sought here was more fine-tuned,e.g. a specific object moving in response to another object moving. GDL doesn't provide for this kind of inter-object communication.</description>
      <pubDate>Tue, 12 Apr 2011 08:47:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Q-Can-GDL-objects-pass-exchange-parameters/m-p/202561#M16978</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2011-04-12T08:47:06Z</dc:date>
    </item>
  </channel>
</rss>

