<?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: Set part length to less than a certain length in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42567#M37367</link>
    <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;...I want to add a length limit for each beam size i.e.  a&amp;lt;=21'-0", as soon as I add the less than character the script fails...&lt;BR /&gt;
Barry Halloran&lt;/BLOCKQUOTE&gt;

Barry,&lt;BR /&gt;
try something like this:&lt;BR /&gt;
&lt;BR /&gt;
values 'a' range [24", 252"]&lt;BR /&gt;
&lt;BR /&gt;
this will force the object, when stretched, to be always greater that 2'-0" or less 21'-0"&lt;BR /&gt;
&lt;BR /&gt;
Dan K</description>
    <pubDate>Tue, 15 Mar 2005 00:33:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-03-15T00:33:17Z</dc:date>
    <item>
      <title>Set part length to less than a certain length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42564#M37364</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have taken the joist tool from Archicad 8.1 and have saved it as a beam tool. I set up a beam size parameter and created a set of IF Then statements. I am able to set width and height. I want to add a length limit for each beam size i.e.  a&amp;lt;=21'-0", as soon as I add the less than character the script fails. See below. Thanks.&lt;BR /&gt;
&lt;BR /&gt;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR /&gt;
!!!!!!!!!!Beam Sizes!!!!!!!!!!!!!!&lt;BR /&gt;
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;BR /&gt;
&lt;BR /&gt;
values 'beam_size' '4x6','4x8','6x6','6x8','6x10','6x12','8x8','Custom'&lt;BR /&gt;
&lt;BR /&gt;
IF beam_size='4x6' THEN &lt;BR /&gt;
   parameters b=3.5",zzyzx=5.5",a&amp;lt;=21'-0"&lt;BR /&gt;
ENDIF &lt;BR /&gt;
IF beam_size='4x8' THEN &lt;BR /&gt;
   parameters b=3.5",zzyzx=7.25"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF beam_size='6x6' THEN &lt;BR /&gt;
   parameters b=5.5",zzyzx=5.5"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF beam_size='6x8' THEN &lt;BR /&gt;
   parameters b=5.5",zzyzx=7.25"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF beam_size='6x10' THEN &lt;BR /&gt;
   parameters b=5.5",zzyzx=9.25"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF beam_size='6x12' THEN &lt;BR /&gt;
   parameters b=5.5",zzyzx=11.25"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
IF beam_size='8x8' THEN &lt;BR /&gt;
   parameters b=7.25",zzyzx=7.25"&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
Barry Halloran&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Mar 2005 16:44:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42564#M37364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-14T16:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set part length to less than a certain length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42565#M37365</link>
      <description>PARAMETERS will allow you to set a value. One way to do what I think you are after would be, for example&lt;BR /&gt;
&lt;BR /&gt;
IF beam_size='4x6' THEN &lt;BR /&gt;
   PARAMETERS b=3.5",zzyzx=5.5"&lt;BR /&gt;
   IF a&amp;gt;21'-0" THEN PARAMETERS a=21'-0"&lt;BR /&gt;
ENDIF</description>
      <pubDate>Mon, 14 Mar 2005 18:48:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42565#M37365</guid>
      <dc:creator>Ignacio Azpiazu</dc:creator>
      <dc:date>2005-03-14T18:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set part length to less than a certain length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42566#M37366</link>
      <description>Ignacio,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for the info, I'll give it a try.&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
      <pubDate>Mon, 14 Mar 2005 18:58:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42566#M37366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-14T18:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set part length to less than a certain length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42567#M37367</link>
      <description>&lt;BLOCKQUOTE&gt;Barry wrote:&lt;BR /&gt;...I want to add a length limit for each beam size i.e.  a&amp;lt;=21'-0", as soon as I add the less than character the script fails...&lt;BR /&gt;
Barry Halloran&lt;/BLOCKQUOTE&gt;

Barry,&lt;BR /&gt;
try something like this:&lt;BR /&gt;
&lt;BR /&gt;
values 'a' range [24", 252"]&lt;BR /&gt;
&lt;BR /&gt;
this will force the object, when stretched, to be always greater that 2'-0" or less 21'-0"&lt;BR /&gt;
&lt;BR /&gt;
Dan K</description>
      <pubDate>Tue, 15 Mar 2005 00:33:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Set-part-length-to-less-than-a-certain-length/m-p/42567#M37367</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-03-15T00:33:17Z</dc:date>
    </item>
  </channel>
</rss>

