<?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: Extracting GDL calculated values in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194027#M15261</link>
    <description>After a little translating your explanation for this Cow Boy Texan, I figured it out and it works great. Thanks for the help partner.</description>
    <pubDate>Tue, 18 Sep 2012 15:22:56 GMT</pubDate>
    <dc:creator>John Edmundson</dc:creator>
    <dc:date>2012-09-18T15:22:56Z</dc:date>
    <item>
      <title>Extracting GDL calculated values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194023#M15257</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I searched the forum to see if anyone had asked this question yet, but could not find anything.  Is there a method for extracting a GDL internally calculated value and having it listed in a Schedule?&lt;BR /&gt;
&lt;BR /&gt;
I am able to get the values that I am able to INPUT in the GDL object with no problem, but not the ones that the GDL code establishes for me.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Sep 2012 15:25:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194023#M15257</guid>
      <dc:creator>John Edmundson</dc:creator>
      <dc:date>2012-09-17T15:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting GDL calculated values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194024#M15258</link>
      <description>If I understand correctly then your GDL object needs to save the calculation as a Parameter in the parameter list of the object.&lt;BR /&gt;
Then in your schedule you can list the "Additional Parameters".&lt;BR /&gt;
&lt;BR /&gt;
You can lock them in the GDL object so the user can't modify them - not that they would modify as they should revert back to the calculated value if scripted properly.&lt;BR /&gt;
Locking them just means users won't get frustrated when they can edit them but the values dont change.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 18 Sep 2012 01:55:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194024#M15258</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-09-18T01:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting GDL calculated values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194025#M15259</link>
      <description>Thank you for helping.  I have tried creating a variable in the Parameter list and then assigning a value to it in the body of the 2D code, no luck that I can tell changing the value.&lt;BR /&gt;
&lt;BR /&gt;
To be sure you understand an example of what I am trying to do. A GDL Object draws a box that is X grids wide and Y grids long.  The grid sizes are assigned in the Parameters input setting along with the of the number of grids. I can calculate the area of the box by multiplying all the numbers together. I can assign that value to a variable in the GDL code. I can have that value written out on the Object with the TEXT2 command, but I can not find a way to access the value in a SCHEDULE. Additional Parameters only allows me to access those variables that are defined in the Parameters list.</description>
      <pubDate>Tue, 18 Sep 2012 02:06:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194025#M15259</guid>
      <dc:creator>John Edmundson</dc:creator>
      <dc:date>2012-09-18T02:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting GDL calculated values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194026#M15260</link>
      <description>You can't modify parameter values in the parameter list from the 2D or 3D scripts.&lt;BR /&gt;
Do the calculations for the area in the Master or Parameter script.&lt;BR /&gt;
Then use "PARAMETERS area = area" to asign the calculated value to the area parameter in you parameter list (you will need to create the parameter in the list).&lt;BR /&gt;
You can still use this parameter value in your TEXT2 command in the 2D script (no need to recalculate it there again).&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Tue, 18 Sep 2012 05:18:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194026#M15260</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-09-18T05:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting GDL calculated values</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194027#M15261</link>
      <description>After a little translating your explanation for this Cow Boy Texan, I figured it out and it works great. Thanks for the help partner.</description>
      <pubDate>Tue, 18 Sep 2012 15:22:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Extracting-GDL-calculated-values/m-p/194027#M15261</guid>
      <dc:creator>John Edmundson</dc:creator>
      <dc:date>2012-09-18T15:22:56Z</dc:date>
    </item>
  </channel>
</rss>

