<?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 How to use iLogic to change the Level of Detail in a Drawing View in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6595924#M67168</link>
    <description>&lt;P&gt;In the API help I see ways to read the current LOD in drawing views and I see a method for setting LOD in an assembly, but no method that sets the LOD in a particular view in a drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can it be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ron&lt;/P&gt;</description>
    <pubDate>Fri, 30 Sep 2016 22:59:28 GMT</pubDate>
    <dc:creator>ron.c</dc:creator>
    <dc:date>2016-09-30T22:59:28Z</dc:date>
    <item>
      <title>How to use iLogic to change the Level of Detail in a Drawing View</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6595924#M67168</link>
      <description>&lt;P&gt;In the API help I see ways to read the current LOD in drawing views and I see a method for setting LOD in an assembly, but no method that sets the LOD in a particular view in a drawing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can it be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Ron&lt;/P&gt;</description>
      <pubDate>Fri, 30 Sep 2016 22:59:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6595924#M67168</guid>
      <dc:creator>ron.c</dc:creator>
      <dc:date>2016-09-30T22:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic to change the Level of Detail in a Drawing View</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6597748#M67173</link>
      <description>&lt;P&gt;You should look under the drawingview object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If can catch the correct drawingview you can set the active LOD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H1&gt;DrawingView.ActiveLevelOfDetailRepresentation Property&lt;/H1&gt;
&lt;P&gt;Parent Object: &lt;FONT color="#000000"&gt;DrawingView&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Description&lt;/H2&gt;
&lt;P&gt;Property that returns the name of the active Level of Detail Representation for a drawing view of an assembly. This property returns a null string for drawing views of parts and presentations and in the case where the model (assembly) is unresolved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Syntax&lt;/H2&gt;
&lt;P&gt;DrawingView.&lt;STRONG&gt;ActiveLevelOfDetailRepresentation&lt;/STRONG&gt;() As String&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Version&lt;/H2&gt;
&lt;P&gt;Introduced in Inventor version 11&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2016 09:44:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6597748#M67173</guid>
      <dc:creator>Jef_E</dc:creator>
      <dc:date>2016-10-03T09:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to use iLogic to change the Level of Detail in a Drawing View</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6599456#M67194</link>
      <description>&lt;P&gt;That is what I needed.&amp;nbsp;&amp;nbsp; Here's a more complete post on the matter: &lt;A href="https://forums.autodesk.com/t5/forums/forumtopicprintpage/board-id/120/message-id/59347/print-single-message/true/page/1" target="_blank"&gt;https://forums.autodesk.com/t5/forums/forumtopicprintpage/board-id/120/message-id/59347/print-single-message/true/page/1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here's some example code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub DrawingView_ChangeLOD()
    'active drawing doc
    Dim oDrawDoc As DrawingDocument
    Set oDrawDoc = ThisApplication.ActiveDocument
    'active sheet
    Dim oSheet As Sheet
    Set oSheet = oDrawDoc.ActiveSheet
    'the 1st drawing view
    Dim oView As DrawingView
    Set oView = oSheet.DrawingViews.Item(1)
    
    'specify the custom LoD by its name
    oView.ActiveLevelOfDetailRepresentation = "ONE"
    oSheet.Update
    
    Beep
End Sub&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 00:17:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-use-ilogic-to-change-the-level-of-detail-in-a-drawing/m-p/6599456#M67194</guid>
      <dc:creator>ron.c</dc:creator>
      <dc:date>2016-10-04T00:17:23Z</dc:date>
    </item>
  </channel>
</rss>

