<?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: Exposing Variables in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230575#M3909</link>
    <description>Thanks, I had a feeling it may not be possible. Rewrite in progress...  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
    <pubDate>Sat, 12 Dec 2020 22:18:59 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2020-12-12T22:18:59Z</dc:date>
    <item>
      <title>Exposing Variables</title>
      <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230573#M3907</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I have a fairly complex GDL object containing a number of parts which I want to analyse for quantities. I have a collection of Dictionary values which are populated in the 3D script as the model assembles the parts. I can summarise the variables from the Dictionary values to give the right totals etc, so I now have a variable in the 3D script e.g. "MyTotal". I also have a Parameter set up "MyTotal" but the associated value always shows zero.&lt;BR /&gt;&lt;BR /&gt;Question: How do I get the calculated "MyTotal" present in the 3D script to display in the parameters so that I can use it in labels &amp;amp; schedules?&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:26:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230573#M3907</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2021-09-15T07:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing Variables</title>
      <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230574#M3908</link>
      <description>Sadly, you can't directly do that.&lt;BR /&gt;
You would need to make a scheduable parameter and write the info from the dict to that.</description>
      <pubDate>Sat, 12 Dec 2020 20:20:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230574#M3908</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2020-12-12T20:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing Variables</title>
      <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230575#M3909</link>
      <description>Thanks, I had a feeling it may not be possible. Rewrite in progress...  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sat, 12 Dec 2020 22:18:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230575#M3909</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2020-12-12T22:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing Variables</title>
      <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230576#M3910</link>
      <description>&lt;BLOCKQUOTE&gt;DGSketcher wrote:&lt;BR /&gt;
Question: How do I get the calculated "MyTotal" present in the 3D script to display in the parameters so that I can use it in labels &amp;amp; schedules?
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
I am not 100% clear on what you are doing, but can you do all the calculations in the Master script rather than the 3D script?&lt;BR /&gt;
The 3D can still use all of these calculations and in the master script it is possible to save the values to parameters.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 14 Dec 2020 01:09:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230576#M3910</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2020-12-14T01:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exposing Variables</title>
      <link>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230577#M3911</link>
      <description>Thanks for the suggestion Barry. Despite many years doing little things in GDL I am still learning, not only what works where but how best to structure things. What was a simple 3D parametric model has gained greater purpose and now needs to deliver data for analysis, which needs a different approach. All good, new skills and rewritten 3D model in development...  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
And for anyone else asking the same question, in order to expose a variable through the Parameters it needs to be set in the Master Script or manipulated in the Parameter Script.</description>
      <pubDate>Mon, 14 Dec 2020 09:13:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Exposing-Variables/m-p/230577#M3911</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2020-12-14T09:13:52Z</dc:date>
    </item>
  </channel>
</rss>

