<?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: GDL &amp;quot;beam&amp;quot; vs ArchiCad beam in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133516#M13114</link>
    <description>Hello :&lt;BR /&gt;
Here is the essential code for this object. There is more but not relevant to the calculation of the totalLength.&lt;BR /&gt;
I welcome all comments.&lt;BR /&gt;
I'll post the script if anyone is interested.&lt;BR /&gt;
&lt;BR /&gt;
Regards : Hubert Wagner&lt;BR /&gt;
&lt;BR /&gt;
Parameters :&lt;BR /&gt;
A = 0&lt;BR /&gt;
B = 10&lt;BR /&gt;
ZZYZX = 15&lt;BR /&gt;
theMod = 130	!(building module in cm)&lt;BR /&gt;
numMod = 1	!(the number of modules)&lt;BR /&gt;
extraLth = 0	!(extra length added to each end)&lt;BR /&gt;
pwcm = 0		!(the section of the column in cm)&lt;BR /&gt;
leftTenon = false&lt;BR /&gt;
lTdx = 10		!(the length of the left tenon)&lt;BR /&gt;
rightTenon = false&lt;BR /&gt;
rTdx = 10		!(the length of the right tenon)&lt;BR /&gt;
totalLength as a length&lt;BR /&gt;
&lt;BR /&gt;
Master script :&lt;BR /&gt;
	dX	=	A&lt;BR /&gt;
	dY	=	B&lt;BR /&gt;
	dZ	=	ZZYZX&lt;BR /&gt;
		&lt;BR /&gt;
	pw = pwcm/100 !(convert to m)&lt;BR /&gt;
	&lt;BR /&gt;
	if dX &amp;gt; 0 then	! choose length entered or calculate modular length&lt;BR /&gt;
		beamLth = dX&lt;BR /&gt;
	else&lt;BR /&gt;
		beamLth = ((theMod/100) * numMod) + (extraLth/100 * 2) - pw&lt;BR /&gt;
			! values converted to meters&lt;BR /&gt;
	endif&lt;BR /&gt;
&lt;BR /&gt;
Parameter script :&lt;BR /&gt;
&lt;BR /&gt;
PARAMETERS&lt;BR /&gt;
	totalLength = beamLth&lt;BR /&gt;
!	if leftTenon then totalLength = totalLength + lTdx&lt;BR /&gt;
!	if rightTenon then totalLength = totalLength + rTdx&lt;BR /&gt;
&lt;BR /&gt;
totalLength shown in Parameters = 194  even if the actual length (A) is set to say 100.</description>
    <pubDate>Sun, 09 Feb 2014 09:09:15 GMT</pubDate>
    <dc:creator>Hubert Wagner</dc:creator>
    <dc:date>2014-02-09T09:09:15Z</dc:date>
    <item>
      <title>GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133512#M13110</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello :&lt;BR /&gt;
I've created a "beam" using GDL. The advantages are as follows :&lt;BR /&gt;
I can define a stub tenon and a second tenon on each end a define their dimensions and offset.&lt;BR /&gt;
I can enter the building module, the number of modules and plus or minus extra length each end.&lt;BR /&gt;
This allows me to put in a beam and resize it very quickly and precisely.&lt;BR /&gt;
Unfortunately, I can't find a way to extract the length of the beam from the DB&lt;BR /&gt;
&lt;BR /&gt;
On the other hand, the standard Archicad beam allows me to extract the length but without the bells and whistles.&lt;BR /&gt;
&lt;BR /&gt;
Can someone suggest how I set up the GDL to get the length of the "beam" object"?&lt;BR /&gt;
&lt;BR /&gt;
Putting a calculated parameter into the GDL script might work if I could access it from the BOM setup. I've not found a way to do that.&lt;BR /&gt;
&lt;BR /&gt;
Regards : Hubert Wagner&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Feb 2014 20:23:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133512#M13110</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2014-02-06T20:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133513#M13111</link>
      <description>Hi.&lt;BR /&gt;
Are you trying to get the length in schedules?&lt;BR /&gt;
You could use the PARAMETERS keyword (either in Master script or Parameters script) to pass the beam length info to a parameter in the parameter list. Then you can schedule it using the "additional parameters" button when adding fields in the schedule.&lt;BR /&gt;
&lt;BR /&gt;
Something like:&lt;BR /&gt;
In parameter list, create a parameter for listings; maybe:&lt;BR /&gt;
beam_length&lt;BR /&gt;
&lt;BR /&gt;
Write:&lt;BR /&gt;
PARAMETERS beam_length = A !&amp;lt;--- or whatever calculated value has your beam length&lt;BR /&gt;
&lt;BR /&gt;
Then find the beam_length parameter in the schedule fields.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 06 Feb 2014 22:45:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133513#M13111</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2014-02-06T22:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133514#M13112</link>
      <description>Hello :&lt;BR /&gt;
Thank you for this assistance. Everything works.&lt;BR /&gt;
&lt;BR /&gt;
The point of the exercise is to be able to choose a new beam (or column) object where the building module, column dimension, tenon lengths etc are all predefined and then merely snap it into position. &lt;BR /&gt;
&lt;BR /&gt;
I find the regular posts and beams fiddly to place and edit.&lt;BR /&gt;
 &lt;BR /&gt;
Regards : Hubert Wagner</description>
      <pubDate>Sun, 09 Feb 2014 07:55:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133514#M13112</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2014-02-09T07:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133515#M13113</link>
      <description>Hello :&lt;BR /&gt;
I spoke too soon.&lt;BR /&gt;
It appears the parameter value doesn't update. Sometimes it works but the final value always shows an extra amount. At other times the parameter sticks at an old value regardless of the settings.&lt;BR /&gt;
&lt;BR /&gt;
I don't see any error in the logic of my code.&lt;BR /&gt;
&lt;BR /&gt;
I've noticed also that pasting into the GDL window creates gross errors in the text. This tends to suggest the update problem might be a bug as well.&lt;BR /&gt;
&lt;BR /&gt;
Regards : Hubert Wagner</description>
      <pubDate>Sun, 09 Feb 2014 08:49:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133515#M13113</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2014-02-09T08:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133516#M13114</link>
      <description>Hello :&lt;BR /&gt;
Here is the essential code for this object. There is more but not relevant to the calculation of the totalLength.&lt;BR /&gt;
I welcome all comments.&lt;BR /&gt;
I'll post the script if anyone is interested.&lt;BR /&gt;
&lt;BR /&gt;
Regards : Hubert Wagner&lt;BR /&gt;
&lt;BR /&gt;
Parameters :&lt;BR /&gt;
A = 0&lt;BR /&gt;
B = 10&lt;BR /&gt;
ZZYZX = 15&lt;BR /&gt;
theMod = 130	!(building module in cm)&lt;BR /&gt;
numMod = 1	!(the number of modules)&lt;BR /&gt;
extraLth = 0	!(extra length added to each end)&lt;BR /&gt;
pwcm = 0		!(the section of the column in cm)&lt;BR /&gt;
leftTenon = false&lt;BR /&gt;
lTdx = 10		!(the length of the left tenon)&lt;BR /&gt;
rightTenon = false&lt;BR /&gt;
rTdx = 10		!(the length of the right tenon)&lt;BR /&gt;
totalLength as a length&lt;BR /&gt;
&lt;BR /&gt;
Master script :&lt;BR /&gt;
	dX	=	A&lt;BR /&gt;
	dY	=	B&lt;BR /&gt;
	dZ	=	ZZYZX&lt;BR /&gt;
		&lt;BR /&gt;
	pw = pwcm/100 !(convert to m)&lt;BR /&gt;
	&lt;BR /&gt;
	if dX &amp;gt; 0 then	! choose length entered or calculate modular length&lt;BR /&gt;
		beamLth = dX&lt;BR /&gt;
	else&lt;BR /&gt;
		beamLth = ((theMod/100) * numMod) + (extraLth/100 * 2) - pw&lt;BR /&gt;
			! values converted to meters&lt;BR /&gt;
	endif&lt;BR /&gt;
&lt;BR /&gt;
Parameter script :&lt;BR /&gt;
&lt;BR /&gt;
PARAMETERS&lt;BR /&gt;
	totalLength = beamLth&lt;BR /&gt;
!	if leftTenon then totalLength = totalLength + lTdx&lt;BR /&gt;
!	if rightTenon then totalLength = totalLength + rTdx&lt;BR /&gt;
&lt;BR /&gt;
totalLength shown in Parameters = 194  even if the actual length (A) is set to say 100.</description>
      <pubDate>Sun, 09 Feb 2014 09:09:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133516#M13114</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2014-02-09T09:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133517#M13115</link>
      <description>Hello :&lt;BR /&gt;
It appears this problem may be self-inflicted. &lt;BR /&gt;
As usual settling down to describe the problem as precisely as possible revealed the error.&lt;BR /&gt;
&lt;BR /&gt;
One error : I placed the code for the PARAMETERS line below the first line.&lt;BR /&gt;
&lt;BR /&gt;
I hope I've not wasted anyone's time.&lt;BR /&gt;
&lt;BR /&gt;
Regards : Hubert Wagner</description>
      <pubDate>Sun, 09 Feb 2014 09:34:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133517#M13115</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2014-02-09T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: GDL "beam" vs ArchiCad beam</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133518#M13116</link>
      <description>Hi.&lt;BR /&gt;
I'm sorry I didn't see this sooner. So you finally solved the issue?</description>
      <pubDate>Mon, 10 Feb 2014 19:29:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-quot-beam-quot-vs-ArchiCad-beam/m-p/133518#M13116</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2014-02-10T19:29:34Z</dc:date>
    </item>
  </channel>
</rss>

