<?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: AC does not export a value... in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256121#M4733</link>
    <description>Incidentally, if anyone would like a copy of this beam object, please let me know.&lt;BR /&gt;
&lt;BR /&gt;
The 'beam' has the following parameters :&lt;BR /&gt;
width, height and totalLength (incl tenons)&lt;BR /&gt;
&lt;BR /&gt;
length defined either by dragging or &lt;BR /&gt;
&lt;BR /&gt;
by entering the building module, the number of modules and any extra length. This allows for a precise length to be entered with one click.&lt;BR /&gt;
&lt;BR /&gt;
setting numMods to zero allows parametric adjustment. Otherwise enter an integer value.&lt;BR /&gt;
&lt;BR /&gt;
length, width, depth and offset up, down, left or right of tenons at each end&lt;BR /&gt;
&lt;BR /&gt;
tenons are colored to distinguish left from right in plan view&lt;BR /&gt;
&lt;BR /&gt;
length, width, depth and offset up or down for a stub tenon at each end.&lt;BR /&gt;
&lt;BR /&gt;
export to bom set up to capture all parameters&lt;BR /&gt;
&lt;BR /&gt;
the beam can be used to cut the mortices in a post or beam which can then be dimensioned.</description>
    <pubDate>Wed, 03 Jan 2018 13:25:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-03T13:25:09Z</dc:date>
    <item>
      <title>AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256113#M4725</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;AC does not export a value calculated inside a parametric gsm object to the bill of materials.&lt;BR /&gt;
&lt;BR /&gt;
The object is a parametric beam with parametric tenons at each end. &lt;BR /&gt;
&lt;BR /&gt;
e.g. at set up A = 100, B = 10 and Z = 10&lt;BR /&gt;
&lt;BR /&gt;
Add an 8 cm tenon at each end. &lt;BR /&gt;
&lt;BR /&gt;
Now the total length of the beam = A + leftTenonLth + rightTenonLth.&lt;BR /&gt;
&lt;BR /&gt;
(I've placed the equation in both Master and Parameter sections of the gsmtemplate).&lt;BR /&gt;
&lt;BR /&gt;
However, AC refuses to export that value and instead lists the length as the original set length = 100.&lt;BR /&gt;
&lt;BR /&gt;
Later, if the beam is resized by dragging the 2D handle at one end, the length parameter is not updated either.&lt;BR /&gt;
&lt;BR /&gt;
How do I extract values calculated inside an object gsm?&lt;BR /&gt;
&lt;BR /&gt;
And where do I place the calculations?&lt;BR /&gt;
&lt;BR /&gt;
I can't see how to attach the gsm file.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jan 2018 13:39:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256113#M4725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T13:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256114#M4726</link>
      <description>Further to my post...&lt;BR /&gt;
&lt;BR /&gt;
I believe I need to find a way to query the object for it's current A (dX) value.&lt;BR /&gt;
Once a value has been entered it doesn't update if the object is parametric.</description>
      <pubDate>Tue, 02 Jan 2018 15:03:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256114#M4726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T15:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256115#M4727</link>
      <description>Interpreting your post, I think you need to update the relevant parameter, i.e. use the PARAMETERS command in either the parameter or master script to update the total length parameter.</description>
      <pubDate>Tue, 02 Jan 2018 23:39:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256115#M4727</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2018-01-02T23:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256116#M4728</link>
      <description>Thank you for the suggestion. This is the setup.&lt;BR /&gt;
In Master section :&lt;BR /&gt;
	dX	=	A&lt;BR /&gt;
	dY	=	B&lt;BR /&gt;
	dZ	=	ZZYZX&lt;BR /&gt;
&lt;BR /&gt;
Parameter section :&lt;BR /&gt;
	PARAMETERS beamWidth = dY&lt;BR /&gt;
	beamHeight = dZ&lt;BR /&gt;
	beamLength = dX&lt;BR /&gt;
	totalLength = beamLength + lTdx + rTdx&lt;BR /&gt;
&lt;BR /&gt;
The two final items are the lengths of the tenons at each end of the beam. These are defined in the Parameters section.&lt;BR /&gt;
The trial beam is 103,6 long and this is shown in the Info bar. However, the Elements List show the length as 100. This is what’s set in the ‘A’, the X dimension parameter in the gsl file.&lt;BR /&gt;
All the other parameters are listed correctly. Only that one calculation is incorrect.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16091iEA2AE29B88C17C94/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2018-01-03 at 09.13.51.png" title="Screen Shot 2018-01-03 at 09.13.51.png" /&gt;</description>
      <pubDate>Wed, 03 Jan 2018 08:20:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256116#M4728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T08:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256117#M4729</link>
      <description>Instead of an Elements List, try an Element Schedule instead.  You can add any object parameter, in which case you can add the totalLength parameter for correct reporting.</description>
      <pubDate>Wed, 03 Jan 2018 10:43:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256117#M4729</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2018-01-03T10:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256118#M4730</link>
      <description>Hello :&lt;BR /&gt;
I've looked at the Schedule and find it awkward. I prefer the Elements List. Some of the objects have around 15 parameters that need to be in the bill of materials, the totalLength is only one of them. &lt;BR /&gt;
The difference appears to be the latter is only one of two parameters which are calculated. The other doesn't update either.&lt;BR /&gt;
There must be a way to force the compiler/interpreter to evaluate the line of code in either Master or Parameters. But how?&lt;BR /&gt;
&lt;BR /&gt;
totalLength = dX + leftTenonL + rightTenonL&lt;BR /&gt;
In Master dX = A&lt;BR /&gt;
dX us used throughout the 3D and 2D sub-routine.&lt;BR /&gt;
Similarly, for the two tenon lengths. There all work fine there. So why not in Master or Parameters?</description>
      <pubDate>Wed, 03 Jan 2018 11:55:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256118#M4730</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T11:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256119#M4731</link>
      <description>In the Parameter Script you cannot place calculations, that shall refer to all scripts. This is only possible in the Master Script.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;Parameter section :&lt;BR /&gt;
PARAMETERS beamWidth = dY&lt;BR /&gt;
beamHeight = dZ&lt;BR /&gt;
beamLength = dX&lt;BR /&gt;
totalLength = beamLength + lTdx + rTdx &lt;/BLOCKQUOTE&gt;

So it seems, that the last 3 lines have no function if placed in the parameter script, but I cannot see the rest of the script.&lt;BR /&gt;
&lt;BR /&gt;
If you wanted to use PARAMETERS for all lines, you must write:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;PARAMETERS beamWidth = dY, beamHeight = dZ,
beamLength = dX, totalLength = beamLength + lTdx + rTdx 
&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jan 2018 12:56:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256119#M4731</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2018-01-03T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256120#M4732</link>
      <description>Solution to the export calculation problem.&lt;BR /&gt;
&lt;BR /&gt;
See : &lt;A href="http://gdl.graphisoft.com/gdl-basics/parameter-logic" target="_blank"&gt;http://gdl.graphisoft.com/gdl-basics/parameter-logic&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
This is the code I used in the Parameters section :&lt;BR /&gt;
totalLength was not being exported to the bill of materials.&lt;BR /&gt;
&lt;BR /&gt;
	PARAMETERS beamWidth = dY&lt;BR /&gt;
	beamHeight = dZ&lt;BR /&gt;
	beamLength = beamLength&lt;BR /&gt;
	totalLength = beamLength + lTdx + rTdx&lt;BR /&gt;
	PARAMETERS totalLength = totalLength&lt;BR /&gt;
&lt;BR /&gt;
Adding the last line forced AC to reevaluate the parameter which is now exported in the BOM.&lt;BR /&gt;
&lt;BR /&gt;
Thank you both for your assistance.&lt;BR /&gt;
&lt;BR /&gt;
PS : Why do undergraduates have flat foreheads?&lt;BR /&gt;
They spend years striking their foreheads with the palms of their hands and exclaiming, “Of course”!</description>
      <pubDate>Wed, 03 Jan 2018 13:14:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256120#M4732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T13:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: AC does not export a value...</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256121#M4733</link>
      <description>Incidentally, if anyone would like a copy of this beam object, please let me know.&lt;BR /&gt;
&lt;BR /&gt;
The 'beam' has the following parameters :&lt;BR /&gt;
width, height and totalLength (incl tenons)&lt;BR /&gt;
&lt;BR /&gt;
length defined either by dragging or &lt;BR /&gt;
&lt;BR /&gt;
by entering the building module, the number of modules and any extra length. This allows for a precise length to be entered with one click.&lt;BR /&gt;
&lt;BR /&gt;
setting numMods to zero allows parametric adjustment. Otherwise enter an integer value.&lt;BR /&gt;
&lt;BR /&gt;
length, width, depth and offset up, down, left or right of tenons at each end&lt;BR /&gt;
&lt;BR /&gt;
tenons are colored to distinguish left from right in plan view&lt;BR /&gt;
&lt;BR /&gt;
length, width, depth and offset up or down for a stub tenon at each end.&lt;BR /&gt;
&lt;BR /&gt;
export to bom set up to capture all parameters&lt;BR /&gt;
&lt;BR /&gt;
the beam can be used to cut the mortices in a post or beam which can then be dimensioned.</description>
      <pubDate>Wed, 03 Jan 2018 13:25:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/AC-does-not-export-a-value/m-p/256121#M4733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-03T13:25:09Z</dc:date>
    </item>
  </channel>
</rss>

