cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
jp
Booster

29 MVO display for custom Doors and WiIndows.

I mostly have a fix for proper MVO display for Doors and Windows.  There is an error someplace in the Graphisoft system that returns the exact same value for Full, and Simplified with sash.  Both return 6, but Simplified with sash should return 8 and full should return 6.   The values are set correctly in their object DWS_MMVOSettings_USA.gsm but it is not transmitting properly.

You will need to select your translations for the old Detailed, Medium, and Simple.   Below are the codes and the correct lookup.   I translate to my needs rather than rewriting all the code at this point for the new options.  If you put a line in your master script: !DWS_MVOSettings_USA then highlight and click on the </> 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.

 

! 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 > 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
 
 
For windows, which are not completely functional as described above, the lookup is similar, but a different parameter is checked.  
 
if P_Det_Level = "by MVO" then
    MVO_2DDetail = 0
    _bSuccess = LIBRARYGLOBAL("DWS_MVOSettings_USA", "iWindow2DDetlevel", MVO_2DDetail)
    if _bSuccess > 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
 
 
 
I hope this helps.   Grapisoft, please update your documentation immediately (you have had a year) and also fix the window error.

 

Operating system used: Windows 11

Many Thanks, JP

John Peterson, AIA
Dalgliesh Gilpin Paxton Architects
Archicad 7-21 US
PC and iMac
0 Replies 0

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!