<?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: Consistent eroor in my autoscripted object in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73210#M33601</link>
    <description>I have sen some problems in group operations in 10 that were not present in 9. This might be related.&lt;BR /&gt;
&lt;BR /&gt;
See you next week in Nottingham, Mats.</description>
    <pubDate>Wed, 30 Aug 2006 13:55:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-08-30T13:55:58Z</dc:date>
    <item>
      <title>Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73203#M33594</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I'm trying to make a simple lamp and gets an error message in the 3D view all the time. The code that's the problem is (in about 8 places):&lt;BR /&gt;
&lt;BR /&gt;
result_113 = sweepgroup{2} ("group_112", -0.001732050807569,        0.001,            0)&lt;BR /&gt;
&lt;BR /&gt;
What's the deal?&lt;BR /&gt;
&lt;BR /&gt;
Also the white colour looks darker on the vertical surfaces...everything that's not glass in the image is white.&lt;BR /&gt;
&lt;BR /&gt;
See attached image fo what I'm trying to make.&lt;BR /&gt;
/Mats GDL-moron&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72374i4567CBCA6BA2E318/image-size/large?v=v2&amp;amp;px=999" border="0" alt="blabla.jpg" title="blabla.jpg" /&gt;</description>
      <pubDate>Tue, 29 Aug 2006 15:39:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73203#M33594</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2006-08-29T15:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73204#M33595</link>
      <description>Hello Mats,&lt;BR /&gt;
It looks like the auto-script mechanism has shot itself in the foot.&lt;BR /&gt;
It's interesting that the "sweepgroup{2}" command is not&lt;BR /&gt;
mentioned in the AC 10 GDL reference manual.&lt;BR /&gt;
You might try saving the project that contain the elements&lt;BR /&gt;
you are trying to auto-script into AC 9 format, opening the&lt;BR /&gt;
project in AC 9, and trying the auto-script in that version ?&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Tue, 29 Aug 2006 18:52:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73204#M33595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-29T18:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73205#M33596</link>
      <description>What's the exact error message?&lt;BR /&gt;
&lt;BR /&gt;
Can you post the code passage?&lt;BR /&gt;
&lt;BR /&gt;
Try this:&lt;BR /&gt;
&lt;BR /&gt;
result_113 = sweepgroup ("group_112", -0.001732050807569, 0.001, 0)&lt;BR /&gt;
&lt;BR /&gt;
The first version of the command has the same syntax. Maybe this works. Probably the difference is internal as RULED and RULED{2}.</description>
      <pubDate>Tue, 29 Aug 2006 19:54:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73205#M33596</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-29T19:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73206#M33597</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;What's the exact error message?&lt;BR /&gt;
&lt;BR /&gt;
Can you post the code passage?&lt;BR /&gt;
&lt;BR /&gt;
Try this:&lt;BR /&gt;
&lt;BR /&gt;
result_113 = sweepgroup ("group_112", -0.001732050807569, 0.001, 0)&lt;BR /&gt;
&lt;BR /&gt;
The first version of the command has the same syntax. Maybe this works. Probably the difference is internal as RULED and RULED{2}.&lt;/BLOCKQUOTE&gt;

Hi Frank,&lt;BR /&gt;
I'm too lousy at GDL to understand whats happening.&lt;BR /&gt;
&lt;BR /&gt;
Every line of code with the string above (result_XXXX....) gives an error message as attached.&lt;BR /&gt;
The object is pretty simple!? A profiler object, some walls with empty window openings and some additional walls.&lt;BR /&gt;
I  tried to delete the {} but with no success.&lt;BR /&gt;
I will try Peters advice tomorrow.&lt;BR /&gt;
Thanks for helping me!&lt;BR /&gt;
:)Mats</description>
      <pubDate>Tue, 29 Aug 2006 22:03:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73206#M33597</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2006-08-29T22:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73207#M33598</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Hello Mats,&lt;BR /&gt;
It looks like the auto-script mechanism has shot itself in the foot.&lt;BR /&gt;
It's interesting that the "sweepgroup{2}" command is not&lt;BR /&gt;
mentioned in the AC 10 GDL reference manual.&lt;BR /&gt;
You might try saving the project that contain the elements&lt;BR /&gt;
you are trying to auto-script into AC 9 format, opening the&lt;BR /&gt;
project in AC 9, and trying the auto-script in that version ?&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

Worked of course in AC9...ahhhhhrg... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_evil.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Thanks for the tip of doing it in v9!&lt;BR /&gt;
&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; Mats</description>
      <pubDate>Wed, 30 Aug 2006 10:05:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73207#M33598</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2006-08-30T10:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73208#M33599</link>
      <description>Have you compared both scripts? v10 &amp;lt;&amp;gt; v9? Whats the difference? Works the v9 scripted version in AC10?</description>
      <pubDate>Wed, 30 Aug 2006 10:19:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73208#M33599</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-30T10:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73209#M33600</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;Have you compared both scripts? v10 &amp;lt;&amp;gt; v9? Whats the difference? Works the v9 scripted version in AC10?&lt;/BLOCKQUOTE&gt;

I don't have the time to look deeper into this. I will do the stuff in AC9 in the future. I spent several hours of dearly precious night time to fix this...so right now I don't want to GDL anything more...until Nottingham next week....&lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Wed, 30 Aug 2006 11:20:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73209#M33600</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2006-08-30T11:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73210#M33601</link>
      <description>I have sen some problems in group operations in 10 that were not present in 9. This might be related.&lt;BR /&gt;
&lt;BR /&gt;
See you next week in Nottingham, Mats.</description>
      <pubDate>Wed, 30 Aug 2006 13:55:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73210#M33601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-30T13:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73211#M33602</link>
      <description>Hello Mats,&lt;BR /&gt;
I had made an assumption that once the object was successfully&lt;BR /&gt;
auto-scripted in AC 9 it would work in AC 10.&lt;BR /&gt;
I understand that you don't want to compare the two scripts&lt;BR /&gt;
but could you answer Frank's other question. &lt;BR /&gt;
Does the AC 9 auto-scripted object work in AC 10.&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 30 Aug 2006 19:09:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73211#M33602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-30T19:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73212#M33603</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;Hello Mats,&lt;BR /&gt;
I had made an assumption that once the object was successfully&lt;BR /&gt;
auto-scripted in AC 9 it would work in AC 10.&lt;BR /&gt;
I understand that you don't want to compare the two scripts&lt;BR /&gt;
but could you answer Frank's other question. &lt;BR /&gt;
Does the AC 9 auto-scripted object work in AC 10.&lt;BR /&gt;
Thank you,&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

OKi, the AC9 autoscripted object works in AC10...</description>
      <pubDate>Thu, 31 Aug 2006 07:43:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73212#M33603</guid>
      <dc:creator>Mats_Knutsson</dc:creator>
      <dc:date>2006-08-31T07:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73213#M33604</link>
      <description>Hello Mats,&lt;BR /&gt;
Thanks for checking on that for us.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Thu, 31 Aug 2006 15:11:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73213#M33604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-31T15:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73214#M33605</link>
      <description>I got mail from GS:
&lt;BLOCKQUOTE&gt;The difference between SWEEPGROUP and SWEEPGROUP{2} is that in the&lt;BR /&gt;
former case the actual transformation matrix is applied again to the&lt;BR /&gt;
direction vector of the sweeping operation with respect to the current&lt;BR /&gt;
coordinate system. (Roughly speaking, in the case of SWEEPGROUP, the&lt;BR /&gt;
current transformation is applied to the direction vector twice with&lt;BR /&gt;
respect to the global coordinate system.)&lt;BR /&gt;
See the example below. We rotate the coordinate system (CS) by 45&lt;BR /&gt;
degrees around the z axis. Since SWEEPGROUP rotates the direction vector&lt;BR /&gt;
again in the current CS by 45, the direction vector of swept_1 in the&lt;BR /&gt;
global CS will be {0,1,0}. In the case of SWEEPGROUP{2} the direction&lt;BR /&gt;
vector is left as is in the local CS, so its direction in the global&lt;BR /&gt;
space will be {sqr(2)/2,sqr(2)/2,0}. (See the attached example.)&lt;BR /&gt;
&lt;BR /&gt;
resol 8&lt;BR /&gt;
rotz 45&lt;BR /&gt;
&lt;BR /&gt;
group "tool_1"&lt;BR /&gt;
addz 1&lt;BR /&gt;
sphere 0.2&lt;BR /&gt;
del 1&lt;BR /&gt;
endgroup&lt;BR /&gt;
&lt;BR /&gt;
group "tool_2"&lt;BR /&gt;
addz 2&lt;BR /&gt;
sphere 0.2&lt;BR /&gt;
del 1&lt;BR /&gt;
endgroup&lt;BR /&gt;
&lt;BR /&gt;
swept_1 = sweepgroup( "tool_1", 1, 0, 0 )&lt;BR /&gt;
placegroup swept_1&lt;BR /&gt;
&lt;BR /&gt;
swept_2 = sweepgroup{2}( "tool_2", 1, 0, 0 )&lt;BR /&gt;
placegroup swept_2&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 10 Sep 2006 23:10:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73214#M33605</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-09-10T23:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73215#M33606</link>
      <description>Hello Frank,&lt;BR /&gt;
Thanks for passing this along to us.&lt;BR /&gt;
I was wondering how you knew that&lt;BR /&gt;
the syntax was not different between&lt;BR /&gt;
sweepgroup and sweepgroup{2}&lt;BR /&gt;
when sweepgroup{2} is not mentioned&lt;BR /&gt;
in the AC 10 GDL manual nor in the&lt;BR /&gt;
New GDL Features in Archicad 10 &lt;BR /&gt;
that I could see.&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 11 Sep 2006 03:45:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73215#M33606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-11T03:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Consistent eroor in my autoscripted object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73216#M33607</link>
      <description>&lt;BLOCKQUOTE&gt;I was wondering how you knew that&lt;BR /&gt;
the syntax was not different between&lt;BR /&gt;
sweepgroup and sweepgroup{2}&lt;/BLOCKQUOTE&gt; I did not &lt;B&gt;knew&lt;/B&gt;. I compared both commands and it was obvisiously the same. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt; I made an illustration and uploaded it to &lt;A href="http://www.selfgdl.com/3d_elemente/solidbefehle/c_SWEEPGROUP2/kompendium.php" target="_blank"&gt;www.selfgdl.com&lt;/A&gt;.</description>
      <pubDate>Mon, 11 Sep 2006 06:09:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Consistent-eroor-in-my-autoscripted-object/m-p/73216#M33607</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-09-11T06:09:59Z</dc:date>
    </item>
  </channel>
</rss>

