<?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: Man seeking Component in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136409#M26602</link>
    <description>&lt;BLOCKQUOTE&gt;Braza wrote:&lt;BR /&gt;Hi Rick,&lt;BR /&gt;
&lt;BR /&gt;
If you upload a AC12 .pla file with the related objects and lists people here could give a try...&lt;/BLOCKQUOTE&gt;

Thanks for the suggestion, and any help.  I have uploaded a zip with 2 small archive files of a roof with framing.  One is labeled floor12_stock, which is just that, and outputs in inches (run "framing list".. there is a screen shot on the pln).  The other has the older roof library from AC8 and the modified lumbercomponents.gsm.  What's weird, saving the stock 12 as an archive went fine, but saving the modified version would not save properly, but said it could not find the lumbercomponents.gsm file, even though it is in the library folder (roofmaker) just like the other one???  So, when you open the modified version you will need to manually load the missing script, which is in the zip file also.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.thompsonplans.com/files/LCtest.zip" target="_blank"&gt;http://www.thompsonplans.com/files/LCtest.zip&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;
The link is here.. and is about 2mb.</description>
    <pubDate>Thu, 11 Dec 2008 18:47:25 GMT</pubDate>
    <dc:creator>Rick Thompson</dc:creator>
    <dc:date>2008-12-11T18:47:25Z</dc:date>
    <item>
      <title>Man seeking Component</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136407#M26600</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I apologize up front, but I doubt I will learn GDL enough to work this out myself, so if someone can assist, I would appreciate it.&lt;BR /&gt;
&lt;BR /&gt;
My library, by necessity, has to maintain a deep connection with the past.  I have pln's that have been brought along for many years (started in the mid 90's).  So, my library doesn't have many new part.. but, I am trying to change that.  Currently I have most of the AC12 library, and a few "custom" folder containing past objects, and past macros.  &lt;BR /&gt;
&lt;BR /&gt;
The one issue I am having is in generating a material list with the roof library parts in AC12.  I have a modified "LumberComponents.gsm" (not done my me) that rounds the length to the next even length.  This condenses the list to something usable, eliminating the long unnecessary rafters in every inch length.  It want work in the AC12 Roofmaker library (I put the adjusted Lumbercomponent script in AC12 library and removed the AC12's Lumbercomponent script).  When I generate a list it can't find what it wants at line 20 (at least for Rafter2_1 12.gsm).  So, unless I can make the AC12 macro adjust for the rounded up even lengths, I am forced to stick with the AC8 version I have been using.  It works, so it's not the end of the world, but I would like to be using AC12 as much as I can.  &lt;BR /&gt;
&lt;BR /&gt;
So, if someone can spot the change in the old version, and help me change the AC12 version, I would appreciate it, and pass it on.  It is a worthwhile change as the listing is ridiculous without it.&lt;BR /&gt;
&lt;BR /&gt;
thanks for any advice&lt;BR /&gt;
&lt;BR /&gt;
ADJUSTED AC8 Lumbercomponents script&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
! Property script for Lumber Pack calculation&lt;BR /&gt;
! Parameters BxHxL&lt;BR /&gt;
!&lt;BR /&gt;
!print l&lt;BR /&gt;
SQUOT="'"&lt;BR /&gt;
DQUOTE='"'&lt;BR /&gt;
TOL=0.0625          ! cut length tolerance is 1/16 in. 05/21 fl&lt;BR /&gt;
MTI=1000/25.4       ! meter to inches&lt;BR /&gt;
MTF=MTI/12          ! meter to feet&lt;BR /&gt;
!&lt;BR /&gt;
WI=B*MTI&lt;BR /&gt;
HI=H*MTI&lt;BR /&gt;
if (WI-INT(WI))&amp;gt;TOL THEN WI=INT(WI)+1   ! width is rounded up to nearest inch&lt;BR /&gt;
if (HI-INT(HI))&amp;gt;TOL THEN HI=INT(HI)+1   ! height is rounded up to nearest inch&lt;BR /&gt;
!++++&lt;BR /&gt;
LINFT=L*MTF&lt;BR /&gt;
LININ=LINFT-int(LINFT)&lt;BR /&gt;
LINFT=int(LINFT)&lt;BR /&gt;
if LININ&amp;gt;0.001 then LINFT=LINFT+1&lt;BR /&gt;
if (LINFT-2*int(LINFT/2))&amp;gt;0.5 then LINFT=LINFT+1&lt;BR /&gt;
!++++&lt;BR /&gt;
BDFT=HI*WI*LINFT/12*QTY&lt;BR /&gt;
WSTR=STR(WI,2,0)&lt;BR /&gt;
HSTR=STR(HI,2,0)&lt;BR /&gt;
LSTRF=STR(LINFT,2,0)&lt;BR /&gt;
CUTSTR=WSTR+" x"+HSTR+" x "+LSTRF+SQUOT              &lt;BR /&gt;
COMPONENT "LUMBER OVERALL",BDFT,"Bdft",1,"01","80000"&lt;BR /&gt;
COMPONENT CUTSTR,QTY,"ea.",1,CUTSTR,"80000"&lt;BR /&gt;
&lt;BR /&gt;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
AC12 Lumbercomponents&lt;BR /&gt;
&lt;BR /&gt;
!&lt;BR /&gt;
! Property script for Lumber Pack calculation&lt;BR /&gt;
! Parameters BxHxL&lt;BR /&gt;
!&lt;BR /&gt;
!print l&lt;BR /&gt;
SQUOT="'"&lt;BR /&gt;
DQUOTE='"'&lt;BR /&gt;
TOL=0.0625          ! cut length tolerance is 1/16 in. 05/21 fl&lt;BR /&gt;
MTI=1000/25.4       ! meter to inches&lt;BR /&gt;
MTF=MTI/12          ! meter to feet&lt;BR /&gt;
!&lt;BR /&gt;
WI=B*MTI&lt;BR /&gt;
HI=H*MTI&lt;BR /&gt;
if (WI-INT(WI))&amp;gt;TOL THEN WI=INT(WI)+1   ! width is rounded up to nearest inch&lt;BR /&gt;
if (HI-INT(HI))&amp;gt;TOL THEN HI=INT(HI)+1   ! height is rounded up to nearest inch&lt;BR /&gt;
!++++&lt;BR /&gt;
LINFT=L*MTF&lt;BR /&gt;
LININ=LINFT-int(LINFT)&lt;BR /&gt;
LININ=LININ*12&lt;BR /&gt;
LFRAC=LININ-INT(LININ)&lt;BR /&gt;
!print linft,linin,lfrac&lt;BR /&gt;
!&lt;BR /&gt;
! cut length is rounded up to the nearest quarter in.&lt;BR /&gt;
!&lt;BR /&gt;
IF LFRAC&amp;gt;(0.75+TOL) THEN &lt;BR /&gt;
    IF LININ &amp;gt; 10.5 THEN    !05/21 FL&lt;BR /&gt;
        LININ=0&lt;BR /&gt;
        LINFT=LINFT+1&lt;BR /&gt;
    ELSE&lt;BR /&gt;
        LININ=INT(LININ)+1&lt;BR /&gt;
    ENDIF       &lt;BR /&gt;
    LQTR=""&lt;BR /&gt;
ELSE&lt;BR /&gt;
    IF LFRAC&amp;gt;(0.5+TOL) THEN    &lt;BR /&gt;
        LININ=INT(LININ)&lt;BR /&gt;
        LQTR=" 3/4"&lt;BR /&gt;
    ELSE&lt;BR /&gt;
        IF LFRAC&amp;gt;(0.25+TOL) THEN &lt;BR /&gt;
            LININ=INT(LININ)&lt;BR /&gt;
            LQTR=" 1/2"&lt;BR /&gt;
        ELSE&lt;BR /&gt;
            IF LFRAC&amp;gt;(TOL) THEN &lt;BR /&gt;
                LININ=INT(LININ)&lt;BR /&gt;
                LQTR=" 1/4"&lt;BR /&gt;
            ELSE&lt;BR /&gt;
                LININ=INT(LININ)&lt;BR /&gt;
                LQTR=""&lt;BR /&gt;
            ENDIF&lt;BR /&gt;
        ENDIF&lt;BR /&gt;
    ENDIF&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
!++++&lt;BR /&gt;
BDFT=HI*WI*LINFT/12*QTY&lt;BR /&gt;
WSTR=STR(WI,2,0)&lt;BR /&gt;
HSTR=STR(HI,2,0)&lt;BR /&gt;
LSTRF=STR(LINFT,2,0)&lt;BR /&gt;
LSTRI=STR(LININ,2,0)&lt;BR /&gt;
CUTSTR=WSTR+" x"+HSTR+" x "+LSTRF+SQUOT+"-"+LSTRI+LQTR+DQUOTE&lt;BR /&gt;
COMPONENT "LUMBER OVERALL",BDFT,"Bdft",1,"01","80000"&lt;BR /&gt;
COMPONENT CUTSTR,QTY,"ea.",1,CUTSTR,"80000"&lt;BR /&gt;
&lt;BR /&gt;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Dec 2008 20:58:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136407#M26600</guid>
      <dc:creator>Rick Thompson</dc:creator>
      <dc:date>2008-12-09T20:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Man seeking Component</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136408#M26601</link>
      <description>Hi Rick,&lt;BR /&gt;
&lt;BR /&gt;
If you upload a AC12 .pla file with the related objects and lists people here could give a try...</description>
      <pubDate>Wed, 10 Dec 2008 18:15:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136408#M26601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-10T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Man seeking Component</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136409#M26602</link>
      <description>&lt;BLOCKQUOTE&gt;Braza wrote:&lt;BR /&gt;Hi Rick,&lt;BR /&gt;
&lt;BR /&gt;
If you upload a AC12 .pla file with the related objects and lists people here could give a try...&lt;/BLOCKQUOTE&gt;

Thanks for the suggestion, and any help.  I have uploaded a zip with 2 small archive files of a roof with framing.  One is labeled floor12_stock, which is just that, and outputs in inches (run "framing list".. there is a screen shot on the pln).  The other has the older roof library from AC8 and the modified lumbercomponents.gsm.  What's weird, saving the stock 12 as an archive went fine, but saving the modified version would not save properly, but said it could not find the lumbercomponents.gsm file, even though it is in the library folder (roofmaker) just like the other one???  So, when you open the modified version you will need to manually load the missing script, which is in the zip file also.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.thompsonplans.com/files/LCtest.zip" target="_blank"&gt;http://www.thompsonplans.com/files/LCtest.zip&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;
The link is here.. and is about 2mb.</description>
      <pubDate>Thu, 11 Dec 2008 18:47:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136409#M26602</guid>
      <dc:creator>Rick Thompson</dc:creator>
      <dc:date>2008-12-11T18:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Man seeking Component</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136410#M26603</link>
      <description>Rick,&lt;BR /&gt;
&lt;BR /&gt;
I've just opened the file and managed to replicate the issue.&lt;BR /&gt;
Seems that the problem is a wrong CALL statement...&lt;BR /&gt;
&lt;BR /&gt;
Right -&amp;gt; Call "LumberComponents" Parameters B=B, L=L, H=H, QTY=1&lt;BR /&gt;
Wrong -&amp;gt; Call LumberComponents Parameters B=B, L=L, H=H, QTY=1&lt;BR /&gt;
&lt;BR /&gt;
You will have to repeat this fix in all objects that refer to this property, ok?&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13201i347956B622018C6F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen_01.jpg" title="Screen_01.jpg" /&gt;</description>
      <pubDate>Fri, 12 Dec 2008 10:38:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136410#M26603</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-12T10:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Man seeking Component</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136411#M26604</link>
      <description>Thank you:)))  That's great.</description>
      <pubDate>Fri, 12 Dec 2008 14:03:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Man-seeking-Component/m-p/136411#M26604</guid>
      <dc:creator>Rick Thompson</dc:creator>
      <dc:date>2008-12-12T14:03:27Z</dc:date>
    </item>
  </channel>
</rss>

