<?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: Archicad 28 OpeningLines Macro in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670594#M7866</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here is my version of "GetDWOpLines.gsm" macro used in older doors/windows which I modified to be usable with both library types&lt;/P&gt;
&lt;P&gt;But it is reading only the INT MVO for doors &amp;amp; windows. it can be modified further to be compatible with DACH/ USA and whatever different config of libpack is used.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jul 2025 10:59:47 GMT</pubDate>
    <dc:creator>Piotr Dobrowolski</dc:creator>
    <dc:date>2025-07-22T10:59:47Z</dc:date>
    <item>
      <title>Archicad 28 OpeningLines Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670185#M7859</link>
      <description>&lt;P&gt;Despite every effort made, I can't call OpeningLines correctly within the 3D script,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've requested the values from the new DW_MVOSettings rather than the old LibraryGlobals13, I think I created the right Dictionaries at the parameters.&lt;BR /&gt;&lt;BR /&gt;But as I request the Lines to be drawn, I get an error that says: Dictionary not initialized or invalid at line 72 at the macro's 3D script (OpeningLines).&lt;BR /&gt;&lt;BR /&gt;What could be wrong?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to push&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;MVODoorOpLineOptions into opLineOptions, the GDL guide says that dictionaries can't be passed on a macro request, yet, it seems to be exactly what is being done at the regular object from the new library pack. Any tips?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="cpp"&gt;dict MVODoorOpLineOptions

MVODoorOpLineOptions.symbol3D.swingOrientation = 0
success = LIBRARYGLOBAL ("DW_MVOSettings", "iDW3DLineOrient", requestValue)
if success &amp;gt; 0 then	MVODoorOpLineOptions.symbol3D.swingOrientation = requestValue

MVODoorOpLineOptions.symbol3D.show	= 0
success = LIBRARYGLOBAL ("DW_MVOSettings", "bDoor3DOpLine", requestValue)
if success &amp;gt; 0 then	MVODoorOpLineOptions.symbol3D.show = requestValue

MVODoorOpLineOptions.symbol3D.typeOut = 0
success = LIBRARYGLOBAL ("DW_MVOSettings", "iDW3DOppositeSideOpLineType", requestValue)
if success &amp;gt; 0 then	MVODoorOpLineOptions.symbol3D.typeOut = requestValue

MVODoorOpLineOptions.symbol3D.typeIn = 0
success = LIBRARYGLOBAL ("DW_MVOSettings", "iDW3DOpeningSideOpLineType", requestValue)
if success &amp;gt; 0 then	MVODoorOpLineOptions.symbol3D.typeIn = requestValue

		call "OpeningLines" parameters a = a,
					b					= b,
					frameThickness		= gs_leaf_thk,
					iOpeningType		= 4,
					opLineOptions = MVODoorOpLineOptions&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Jul 2025 03:53:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670185#M7859</guid>
      <dc:creator>vdentello</dc:creator>
      <dc:date>2025-07-18T03:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad 28 OpeningLines Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670594#M7866</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here is my version of "GetDWOpLines.gsm" macro used in older doors/windows which I modified to be usable with both library types&lt;/P&gt;
&lt;P&gt;But it is reading only the INT MVO for doors &amp;amp; windows. it can be modified further to be compatible with DACH/ USA and whatever different config of libpack is used.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jul 2025 10:59:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670594#M7866</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2025-07-22T10:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad 28 OpeningLines Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670731#M7868</link>
      <description>&lt;P&gt;I still wasn't able to get it to work, the requests seem to be doing right, I was able to print the captured values accordingly.&lt;BR /&gt;&lt;BR /&gt;It's the Macro call that fails. Specifically at&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-cpp"&gt;&lt;CODE&gt;opLineOptions = MVODoorOpLineOptions&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error itself happens in the macro script after the Dict is passed (as far as it seems) according to the warning:&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="vdentello_1-1753276928039.png" style="width: 240px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/89932i2CD70702B44886FD/image-dimensions/240x215?v=v2" width="240" height="215" role="button" title="vdentello_1-1753276928039.png" alt="vdentello_1-1753276928039.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 20:52:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670731#M7868</guid>
      <dc:creator>vdentello</dc:creator>
      <dc:date>2025-07-25T20:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Archicad 28 OpeningLines Macro</title>
      <link>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670985#M7869</link>
      <description>&lt;P&gt;I have also replaced the openinglines macro with the old one(renamed) in the object (from 26 in this scenario), sorry I did not clarify in the first place.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 05:06:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670985#M7869</guid>
      <dc:creator>Piotr Dobrowolski</dc:creator>
      <dc:date>2025-07-25T05:06:39Z</dc:date>
    </item>
  </channel>
</rss>

