<?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: 29 MVO display for custom Doors and WiIndows. in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703710#M8467</link>
    <description>&lt;P&gt;Hi Gabriel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was typing a reply to you in the app and then all my typing disappeared and I could not get it back.&amp;nbsp; So here I go again.&amp;nbsp; I have not tried to get the opening lines in 3d yet, but you can apply my process to get what you need.&amp;nbsp; &amp;nbsp;Your syntax is incorrect as you need to replace requestValue with the name of your local variable that will carry the value you get from this lookup.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;success = LIBRARYGLOBAL ("DW_MVOSettings", "iDW3DLineOrient", requestValue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are my lookups to get the plan settings of the opening lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;success = LIBRARYGLOBAL ("DWS_MVOSettings_USA", "penDoor2DOpLine", pen_mvo_arc)&lt;BR /&gt;success = LIBRARYGLOBAL ("DWS_MVOSettings_USA", "lineTypeDoor2DOpLine", LT_mvo_arc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pen_mvo_arc and&amp;nbsp;LT_mvo_arc are my local variables assigned to the lookup of the parameter in&amp;nbsp;DWS_MVOSettings_USA.&amp;nbsp; In your script, if you highlight&amp;nbsp;DWS_MVOSettings_USA and then click on the &amp;lt;/&amp;gt; icon in the top ribbon of the gdl editor, it will open this object and you can see all the parameter names to make sure you are looking up the correct one.&amp;nbsp; You can even look at the interface script and preview it so you better figure out the parameters it is using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; do not see a pen assignment for the 3d swing line, so It may use the same pen as the plan.&amp;nbsp; There are two parameters for the linetypes however,&amp;nbsp;iDWS3DOpeningSideOpLineType and&amp;nbsp;iDWS3DOpeningSideOpLineType.&amp;nbsp; The way the lines are drawn are a bit more complicated since it is based on a picture that is clicked.&amp;nbsp; &amp;nbsp;But there are only a few values for each so it's not too bad.&amp;nbsp; The parameters to lookup are&amp;nbsp;iDWS3DLineOrient and&amp;nbsp;iDW3DArrowOrient I think.&amp;nbsp; Once you open the object, you can get a lot of info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;</description>
    <pubDate>Tue, 26 May 2026 19:41:40 GMT</pubDate>
    <dc:creator>jp</dc:creator>
    <dc:date>2026-05-26T19:41:40Z</dc:date>
    <item>
      <title>29 MVO display for custom Doors and Windows.</title>
      <link>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703409#M8458</link>
      <description>&lt;P&gt;I mostly have a fix for proper MVO display for Doors and Windows.&amp;nbsp; There is an error someplace in the Graphisoft system that returns the exact same value for Full, and Simplified with sash.&amp;nbsp; Both return 6, but Simplified with sash should return 8 and full should return 6.&amp;nbsp;&amp;nbsp; The values are set correctly in their object DWS_MMVOSettings_USA.gsm but it is not transmitting properly.&lt;BR /&gt;&lt;BR /&gt;You will need to select your translations for the old Detailed, Medium, and Simple.&amp;nbsp; &amp;nbsp;Below are the codes and the correct lookup.&amp;nbsp; &amp;nbsp;I translate to my needs rather than rewriting all the code at this point for the new options.&amp;nbsp; If you put a line in your master script: !&lt;SPAN&gt;DWS_MVOSettings_USA then highlight and click on the &amp;lt;/&amp;gt; icon to open the object, you can test various options and then look back at the parameter list to see the number that is set.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;! iDWDet2D, MVODetlevel2D
WIN2D_1LIN                  = 1
WIN2D_2LIN                  = 2
WIN2D_2LINFRAMES            = 3
WIN2D_GLASS1LIN_NOSASH      = 4
WIN2D_GLASS1LIN_SASH_NOACC  = 8
WIN2D_GLASS1LIN_SASH        = 5
WIN2D_GLASS1LIN_REBATE      = 6
WIN2D_GLASS2LIN_REBATE      = 7

if P_Det_Level = "by MVO" then
    MVO_2DDetail = 0
    _bSuccess = LIBRARYGLOBAL("DWS_MVOSettings_USA", "iDoor2DDetlevel", MVO_2DDetail)
    if _bSuccess &amp;gt; 0 then
        if MVO_2DDetail = 11 then
            Det_Level = "Detailed"
            No_Trim = 0
        endif
        if MVO_2DDetail = 10 then
            Det_Level = "Detailed"  !my medium
            No_Trim = 1
        endif
        if MVO_2DDetail = 9 or MVO_2DDetail = 1 then
            Det_Level = "Simple"
            No_Trim = 0
        endif
    else
        Det_Level = "Simple"
        No_Trim = 0
    endif
endif&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;For windows, which are not completely functional as described above, the lookup is similar, but a different parameter is checked.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;if P_Det_Level = "by MVO" then
    MVO_2DDetail = 0
    _bSuccess = LIBRARYGLOBAL("DWS_MVOSettings_USA", "iWindow2DDetlevel", MVO_2DDetail)
    if _bSuccess &amp;gt; 0 then
        if MVO_2DDetail = 6 then
            Det_Level = "Detailed"
            No_Trim = 0
        endif
        if MVO_2DDetail = 8 then
            Det_Level = "Detailed"  !my medium
            No_Trim = 1
        endif
        if MVO_2DDetail = 1 then
            Det_Level = "Simple"
            No_Trim = 0
        endif
    else
        Det_Level = "Simple"
        No_Trim = 0
    endif
endif&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I hope this helps.&amp;nbsp; &amp;nbsp;Grapisoft, please update your documentation immediately (you have had a year) and also fix the window error.&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier" color="grey"&gt;Operating system used: &lt;EM&gt;Windows 11&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 27 May 2026 08:15:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703409#M8458</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2026-05-27T08:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: 29 MVO display for custom Doors and WiIndows.</title>
      <link>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703700#M8466</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/15563"&gt;@jp&lt;/a&gt;, based in this post I was wondering, have you managed to make the OpeningLines macro work? If so, can you shed some light on how? I got in touch with&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12643"&gt;@vdentello&lt;/a&gt;&amp;nbsp;last year about this problem and we still haven't found a solution. I'll leave the link below to the community post where we started the discussion, if you could check it out when you have the chance.&lt;BR /&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670185#M7859" target="_blank"&gt;https://community.graphisoft.com/t5/GDL/Archicad-28-OpeningLines-Macro/m-p/670185#M7859&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2026 19:02:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703700#M8466</guid>
      <dc:creator>Gabriel Barzon</dc:creator>
      <dc:date>2026-05-26T19:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: 29 MVO display for custom Doors and WiIndows.</title>
      <link>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703710#M8467</link>
      <description>&lt;P&gt;Hi Gabriel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was typing a reply to you in the app and then all my typing disappeared and I could not get it back.&amp;nbsp; So here I go again.&amp;nbsp; I have not tried to get the opening lines in 3d yet, but you can apply my process to get what you need.&amp;nbsp; &amp;nbsp;Your syntax is incorrect as you need to replace requestValue with the name of your local variable that will carry the value you get from this lookup.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;success = LIBRARYGLOBAL ("DW_MVOSettings", "iDW3DLineOrient", requestValue)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are my lookups to get the plan settings of the opening lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;success = LIBRARYGLOBAL ("DWS_MVOSettings_USA", "penDoor2DOpLine", pen_mvo_arc)&lt;BR /&gt;success = LIBRARYGLOBAL ("DWS_MVOSettings_USA", "lineTypeDoor2DOpLine", LT_mvo_arc)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pen_mvo_arc and&amp;nbsp;LT_mvo_arc are my local variables assigned to the lookup of the parameter in&amp;nbsp;DWS_MVOSettings_USA.&amp;nbsp; In your script, if you highlight&amp;nbsp;DWS_MVOSettings_USA and then click on the &amp;lt;/&amp;gt; icon in the top ribbon of the gdl editor, it will open this object and you can see all the parameter names to make sure you are looking up the correct one.&amp;nbsp; You can even look at the interface script and preview it so you better figure out the parameters it is using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; do not see a pen assignment for the 3d swing line, so It may use the same pen as the plan.&amp;nbsp; There are two parameters for the linetypes however,&amp;nbsp;iDWS3DOpeningSideOpLineType and&amp;nbsp;iDWS3DOpeningSideOpLineType.&amp;nbsp; The way the lines are drawn are a bit more complicated since it is based on a picture that is clicked.&amp;nbsp; &amp;nbsp;But there are only a few values for each so it's not too bad.&amp;nbsp; The parameters to lookup are&amp;nbsp;iDWS3DLineOrient and&amp;nbsp;iDW3DArrowOrient I think.&amp;nbsp; Once you open the object, you can get a lot of info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JP&lt;/P&gt;</description>
      <pubDate>Tue, 26 May 2026 19:41:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/29-MVO-display-for-custom-Doors-and-Windows/m-p/703710#M8467</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2026-05-26T19:41:40Z</dc:date>
    </item>
  </channel>
</rss>

