<?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: Group function with rnd in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38045#M33288</link>
    <description>well I found a different way.  If anyone has an answer to the aforementioned question, I'd still be interested.  However, I chose to use the CUTPOLY instead of using GROUPs.</description>
    <pubDate>Fri, 21 Jul 2006 21:04:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-07-21T21:04:51Z</dc:date>
    <item>
      <title>Group function with rnd</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38044#M33287</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I can't get the RND function to work properly when the part of the object being created is within a GROUP function.&lt;BR /&gt;
&lt;BR /&gt;
The RND works fine before and after -..  ie:&lt;BR /&gt;
&lt;BR /&gt;
FOR I=1 TO num STEP 1&lt;BR /&gt;
  length = RND (12)&lt;BR /&gt;
  LIN_ 0,0,0,0,-length,0&lt;BR /&gt;
  GROUP "keeper"&lt;BR /&gt;
    ROTx 90&lt;BR /&gt;
      CYLIND length,A/2&lt;BR /&gt;
    DEL 1&lt;BR /&gt;
  ENDGROUP&lt;BR /&gt;
NEXT I&lt;BR /&gt;
&lt;BR /&gt;
In this code - the LIN_ is random length when outside of the GROUP call (as it is sown above).  Place it within the GROUP call, (place the LIN_ line after the ROTx 90)  and the LIN_ is random for each time you reload/rebuild the object, but not random within the GROUP feature - meaning that each iteration of the FOR loop, the line is the same length.&lt;BR /&gt;
&lt;BR /&gt;
Can anyone explain why this might be?  I've run into GROUP issues before, but this one seems like it should be so simple.  Anyone?  Am I missing something obvious?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jul 2006 17:57:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38044#M33287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-21T17:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Group function with rnd</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38045#M33288</link>
      <description>well I found a different way.  If anyone has an answer to the aforementioned question, I'd still be interested.  However, I chose to use the CUTPOLY instead of using GROUPs.</description>
      <pubDate>Fri, 21 Jul 2006 21:04:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38045#M33288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-21T21:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Group function with rnd</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38046#M33289</link>
      <description>just a thought&lt;BR /&gt;
&lt;BR /&gt;
try to use KILLGROUP command at the end. I have suspected that the GROUP command creates a sort of permanent block in the memory..however I haven't tested that...</description>
      <pubDate>Sun, 23 Jul 2006 23:34:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Group-function-with-rnd/m-p/38046#M33289</guid>
      <dc:creator>Rob</dc:creator>
      <dc:date>2006-07-23T23:34:44Z</dc:date>
    </item>
  </channel>
</rss>

