<?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: Making a Macro in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Making-a-Macro/m-p/597646#M6477</link>
    <description>&lt;P&gt;That is all a macro is - a separate object.&lt;/P&gt;
&lt;P&gt;It can be nominated as un-placeable so you don't see it when browsing the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1712218682707.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/58481i32BB1A04AC3ED4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1712218682707.png" alt="BarryKelly_0-1712218682707.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can script exactly the same inside the original object, but it will not be accessible to any other object.&lt;/P&gt;
&lt;P&gt;If you need to use it more than once in your object, make it a subroutine (GOSUB).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you want to use the same code in many objects, save it as a separate object and CALL it as a macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 13:47:59 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2024-04-05T13:47:59Z</dc:date>
    <item>
      <title>Making a Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-a-Macro/m-p/597638#M6476</link>
      <description>&lt;P&gt;So I'm reading the guides how to make a macro, and there's something that is confusing me. Can a macro not be defined inside my object that I'm writing? The only example I could find as it as a seperate object?&lt;/P&gt;
&lt;P&gt;Is this the only way to define a macro?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks guys!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:12:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-a-Macro/m-p/597638#M6476</guid>
      <dc:creator>henrybs14</dc:creator>
      <dc:date>2024-09-26T11:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Making a Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Making-a-Macro/m-p/597646#M6477</link>
      <description>&lt;P&gt;That is all a macro is - a separate object.&lt;/P&gt;
&lt;P&gt;It can be nominated as un-placeable so you don't see it when browsing the library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BarryKelly_0-1712218682707.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/58481i32BB1A04AC3ED4E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="BarryKelly_0-1712218682707.png" alt="BarryKelly_0-1712218682707.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can script exactly the same inside the original object, but it will not be accessible to any other object.&lt;/P&gt;
&lt;P&gt;If you need to use it more than once in your object, make it a subroutine (GOSUB).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you want to use the same code in many objects, save it as a separate object and CALL it as a macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 13:47:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Making-a-Macro/m-p/597646#M6477</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-04-05T13:47:59Z</dc:date>
    </item>
  </channel>
</rss>

