<?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 object LOD drop in GDL script wanted in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695046#M52221</link>
    <description>&lt;P&gt;Has anyone figured out how to tap into 29 MVO LOD for objects? Was fairly simple in 27 and before. 29 uses different macros and before I spend time reverse engineering, does anyone already have a solution?&lt;BR /&gt;Also would anyone know what 28 uses?&lt;/P&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;</description>
    <pubDate>Sat, 07 Mar 2026 15:02:20 GMT</pubDate>
    <dc:creator>Davor P</dc:creator>
    <dc:date>2026-03-07T15:02:20Z</dc:date>
    <item>
      <title>29 MVO object LOD drop in GDL script wanted</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695046#M52221</link>
      <description>&lt;P&gt;Has anyone figured out how to tap into 29 MVO LOD for objects? Was fairly simple in 27 and before. 29 uses different macros and before I spend time reverse engineering, does anyone already have a solution?&lt;BR /&gt;Also would anyone know what 28 uses?&lt;/P&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;</description>
      <pubDate>Sat, 07 Mar 2026 15:02:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695046#M52221</guid>
      <dc:creator>Davor P</dc:creator>
      <dc:date>2026-03-07T15:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: 29 MVO object LOD drop in GLD script wanted</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695047#M52222</link>
      <description>&lt;P&gt;I have not looked at it, but the macros should be the same between 28 and 29. The library is suppose to be independant of AC version, mostly...&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2026 02:36:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695047#M52222</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2026-03-06T02:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: 29 MVO object LOD drop in GDL script wanted</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695168#M52227</link>
      <description>&lt;P&gt;The difference is the parameter name and enum values for full/simplified/schematic.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If anyone comes across the same problem - here is my solution - feel free to let me know if it can be improved.&lt;BR /&gt;I don't have 2D script LOD part as I did not need it.&lt;BR /&gt;&lt;BR /&gt;Assuming you already have "iDetlevel3D" parameter.&lt;BR /&gt;Add another parameter&lt;BR /&gt;"iDetLev3d", set type to integer, same as&amp;nbsp;"iDetlevel3D"&lt;BR /&gt;&lt;BR /&gt;3D script:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;LI-CODE lang="markup"&gt;! version check

n = REQUEST("PROGRAM_INFO", "", name, version)
IF version &amp;lt;= 27 THEN
    IF iDetlevel3D = 1 THEN
        CALL "DetlevelFunctionMacro" PARAMETERS iDetlevel3D = iDetlevel3D, returned_parameters _iDetlevel3D
    ELSE
        _iDetlevel3D = iDetlevel3D
    ENDIF
ELSE
    CALL "GetObjectGlobals" PARAMETERS  iObjectDet3D = iDetLev3D,   RETURNED_PARAMETERS     _unused, _iDetlevel3D
ENDIF


IF version &amp;lt;=  27 THEN
    IF _iDetlevel3D = 5 GOSUB "SCHEMATIC"
    IF _iDetlevel3D = 4 GOSUB "SIMPLIFIED"
ELSE
    IF _iDetlevel3D = 1 GOSUB "SCHEMATIC"
    IF _iDetlevel3D = 2 GOSUB "SIMPLIFIED"
ENDIF

IF _iDetlevel3D = 3 GOSUB "DETAILED"

Parameter script:

VALUES{2} "iDetlevel3D" 1, "By MVO", 3, "Detailed", 4, "Simplified", 5, "Schematic"

IF iDetlevel3D = 1 THEN PARAMETERS iDetLev3D = 0
IF iDetlevel3D = 3 THEN PARAMETERS iDetLev3D = 3
IF iDetlevel3D = 4 THEN PARAMETERS iDetLev3D = 2
IF iDetlevel3D = 5 THEN PARAMETERS iDetLev3D = 1&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 08 Mar 2026 09:48:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/29-MVO-object-LOD-drop-in-GDL-script-wanted/m-p/695168#M52227</guid>
      <dc:creator>Davor P</dc:creator>
      <dc:date>2026-03-08T09:48:20Z</dc:date>
    </item>
  </channel>
</rss>

