<?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 29 MVO settings for Lighting and HVAC floor plan settings in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/29-MVO-settings-for-Lighting-and-HVAC-floor-plan-settings/m-p/703389#M8453</link>
    <description>&lt;P&gt;I have tested this with my symbol for recessed lights.&amp;nbsp; I vary the display for each of the MVO settings.&amp;nbsp; I have made the fix entirely in the Master Script and remarked out the lookup that used to be in my 2d script.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!===========================

!Master Script

!===========================

! constant variables for "iSymbolType2D" These were the old values
PLANSYMB_REALISTIC = 1
PLANSYMB_ELECTRIC = 2
PLANSYMB_RCP = 3
PLANSYMB_BY_MVO = 4

! New MVO source constants (for reference/translation)
FIXTURESYMB_RCP         = 1
FIXTURESYMB_ELECTRIC    = 2
FIXTURESYMB_REALISTIC   = 3
FIXTURESYMB_BYMVO       = 100

! In 2D script — updated lookup block
if _byMVO = 1 then
  _reqLampSymbolType = 0
  _bSuccess = LIBRARYGLOBAL("Objects_MVOSettings", "iFixtureSymbol", _reqLampSymbolType)
  if _bSuccess &amp;gt; 0 then
    ! Translate new MVO values back to your internal constants
    if _reqLampSymbolType = FIXTURESYMB_REALISTIC then
      _lampSymbolType = PLANSYMB_REALISTIC
    endif
    if _reqLampSymbolType = FIXTURESYMB_ELECTRIC then
      _lampSymbolType = PLANSYMB_ELECTRIC
    endif
    if _reqLampSymbolType = FIXTURESYMB_RCP then
      _lampSymbolType = PLANSYMB_RCP
    endif
  else
    _lampSymbolType = PLANSYMB_ELECTRIC  ! fallback unchanged
  endif
endif

print _bSuccess
print _lampSymbolType
!========================================================&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Now on to seeing if I can figure out custom doors and windows and how they display.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&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;</description>
    <pubDate>Sun, 24 May 2026 17:31:58 GMT</pubDate>
    <dc:creator>jp</dc:creator>
    <dc:date>2026-05-24T17:31:58Z</dc:date>
    <item>
      <title>29 MVO settings for Lighting and HVAC floor plan settings</title>
      <link>https://community.graphisoft.com/t5/GDL/29-MVO-settings-for-Lighting-and-HVAC-floor-plan-settings/m-p/703389#M8453</link>
      <description>&lt;P&gt;I have tested this with my symbol for recessed lights.&amp;nbsp; I vary the display for each of the MVO settings.&amp;nbsp; I have made the fix entirely in the Master Script and remarked out the lookup that used to be in my 2d script.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!===========================

!Master Script

!===========================

! constant variables for "iSymbolType2D" These were the old values
PLANSYMB_REALISTIC = 1
PLANSYMB_ELECTRIC = 2
PLANSYMB_RCP = 3
PLANSYMB_BY_MVO = 4

! New MVO source constants (for reference/translation)
FIXTURESYMB_RCP         = 1
FIXTURESYMB_ELECTRIC    = 2
FIXTURESYMB_REALISTIC   = 3
FIXTURESYMB_BYMVO       = 100

! In 2D script — updated lookup block
if _byMVO = 1 then
  _reqLampSymbolType = 0
  _bSuccess = LIBRARYGLOBAL("Objects_MVOSettings", "iFixtureSymbol", _reqLampSymbolType)
  if _bSuccess &amp;gt; 0 then
    ! Translate new MVO values back to your internal constants
    if _reqLampSymbolType = FIXTURESYMB_REALISTIC then
      _lampSymbolType = PLANSYMB_REALISTIC
    endif
    if _reqLampSymbolType = FIXTURESYMB_ELECTRIC then
      _lampSymbolType = PLANSYMB_ELECTRIC
    endif
    if _reqLampSymbolType = FIXTURESYMB_RCP then
      _lampSymbolType = PLANSYMB_RCP
    endif
  else
    _lampSymbolType = PLANSYMB_ELECTRIC  ! fallback unchanged
  endif
endif

print _bSuccess
print _lampSymbolType
!========================================================&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Now on to seeing if I can figure out custom doors and windows and how they display.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&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;</description>
      <pubDate>Sun, 24 May 2026 17:31:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/29-MVO-settings-for-Lighting-and-HVAC-floor-plan-settings/m-p/703389#M8453</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2026-05-24T17:31:58Z</dc:date>
    </item>
  </channel>
</rss>

