<?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: Solid operations with macros in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341426#M1920</link>
    <description>&lt;P&gt;Sure you need to look at the GROUP commands.&lt;/P&gt;
&lt;P&gt;I haven't done it with macros but I think it should work the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the door macro call in one GROUP.&lt;/P&gt;
&lt;P&gt;The handle macro call in another GROUP&lt;/P&gt;
&lt;P&gt;Then SUBGROUP to subtract the handle from the door.&lt;/P&gt;
&lt;P&gt;Then PLACEGROUP for the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 06:24:51 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2022-06-16T06:24:51Z</dc:date>
    <item>
      <title>Solid operations with macros</title>
      <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341425#M1919</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a door macro as a subroutine and a door handle as another subroutine. What I'm looking after is to perform a solid operation where the handle cuts the door, is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope I made myself clear &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 05:59:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341425#M1919</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-16T05:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: Solid operations with macros</title>
      <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341426#M1920</link>
      <description>&lt;P&gt;Sure you need to look at the GROUP commands.&lt;/P&gt;
&lt;P&gt;I haven't done it with macros but I think it should work the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Place the door macro call in one GROUP.&lt;/P&gt;
&lt;P&gt;The handle macro call in another GROUP&lt;/P&gt;
&lt;P&gt;Then SUBGROUP to subtract the handle from the door.&lt;/P&gt;
&lt;P&gt;Then PLACEGROUP for the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:24:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341426#M1920</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-06-16T06:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Solid operations with macros</title>
      <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341427#M1921</link>
      <description>&lt;P&gt;Thank you, just tried but is not working for me, I'm probably doing something wrong.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;GROUP "door"
GOSUB 200
ENDGROUP
PLACEGROUP "door"

GROUP "kuppi"
ADDx -0.25
ADDy 0.05
ADDz 0.01
GOSUB 420
DEL 3
ENDGROUP
PLACEGROUP "kuppi"

Result_1 = SUBGROUP("door","kuppi")

PLACEGROUP Result_1
KILLGROUP "door"
KILLGROUP "kuppi"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:32:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341427#M1921</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-16T06:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Solid operations with macros</title>
      <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341430#M1922</link>
      <description>&lt;P&gt;Sorry, when you said macro, I thought you were CALLing macros.&lt;/P&gt;
&lt;P&gt;Subroutines are fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What you have should work, but comment out the PLACEGROUP lines for "door" &amp;amp; "kuppi".&lt;/P&gt;
&lt;P&gt;You don't need to place those, just place the result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are actually placing them twice.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 06:58:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341430#M1922</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-06-16T06:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Solid operations with macros</title>
      <link>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341431#M1923</link>
      <description>&lt;P&gt;Oh yes, I'm calling the macro in the subroutine, sorry for the mess up &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Of course there is a END statement before the subroutines&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;202:
CALL door01_macro PARAMETERS all
RETURN

420:
CALL kuppi_macro PARAMETERS ALL
RETURN&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 07:01:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Solid-operations-with-macros/m-p/341431#M1923</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-16T07:01:16Z</dc:date>
    </item>
  </channel>
</rss>

