<?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 DrawingView.ReferenceDataDisplayStyle does not appear functional or present on DrawingView objects. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawingview-referencedatadisplaystyle-does-not-appear-functional/m-p/12833476#M168391</link>
    <description>&lt;P&gt;Refer to:&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingView_ReferenceDataDisplayStyle" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingView_ReferenceDataDisplayStyle&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ReferenceDataDisplayStyleEnum" target="_blank" rel="noopener"&gt;and https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ReferenceDataDisplayStyleEnum&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This appears to be a read/write value on Inventor.DrawingView objects, which should enable access to set the display options for Reference Data from the model.&lt;BR /&gt;&lt;BR /&gt;I get a a COMException error when trying to access this property of an Inventor.DrawingView object in memory:&lt;BR /&gt;&lt;BR /&gt;Exception thrown: 'System.Runtime.InteropServices.COMException' in mscorlib.dll&lt;BR /&gt;System.Transactions Critical: 0 :&lt;BR /&gt;&amp;lt;Exception&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ExceptionType&amp;gt;System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;lt;/ExceptionType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Message&amp;gt;Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))&amp;lt;/Message&amp;gt;&lt;BR /&gt;at Inventor.DrawingView.get_ReferenceDataDisplayStyle()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Exception thrown: 'System.Runtime.InteropServices.COMException' in mscorlib.dll
System.Transactions Critical: 0 :
&amp;lt;Exception&amp;gt;
     &amp;lt;ExceptionType&amp;gt;System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;lt;/ExceptionType&amp;gt;
     &amp;lt;Message&amp;gt;Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))&amp;lt;/Message&amp;gt;
at Inventor.DrawingView.get_ReferenceDataDisplayStyle()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, when the code breaks, and I use the Dynamic View in Visual Studio 2022, this property is not among the many identified for this object.&lt;BR /&gt;&lt;BR /&gt;Has anyone gotten this to work?&lt;BR /&gt;&lt;BR /&gt;Currently running Inventor 2024.3 and my application references version 28.2 of the interop.dll&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 23:31:59 GMT</pubDate>
    <dc:creator>josh.nieman</dc:creator>
    <dc:date>2024-06-11T23:31:59Z</dc:date>
    <item>
      <title>DrawingView.ReferenceDataDisplayStyle does not appear functional or present on DrawingView objects.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawingview-referencedatadisplaystyle-does-not-appear-functional/m-p/12833476#M168391</link>
      <description>&lt;P&gt;Refer to:&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingView_ReferenceDataDisplayStyle" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=DrawingView_ReferenceDataDisplayStyle&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ReferenceDataDisplayStyleEnum" target="_blank" rel="noopener"&gt;and https://help.autodesk.com/view/INVNTOR/2024/ENU/?guid=ReferenceDataDisplayStyleEnum&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This appears to be a read/write value on Inventor.DrawingView objects, which should enable access to set the display options for Reference Data from the model.&lt;BR /&gt;&lt;BR /&gt;I get a a COMException error when trying to access this property of an Inventor.DrawingView object in memory:&lt;BR /&gt;&lt;BR /&gt;Exception thrown: 'System.Runtime.InteropServices.COMException' in mscorlib.dll&lt;BR /&gt;System.Transactions Critical: 0 :&lt;BR /&gt;&amp;lt;Exception&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ExceptionType&amp;gt;System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;lt;/ExceptionType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Message&amp;gt;Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))&amp;lt;/Message&amp;gt;&lt;BR /&gt;at Inventor.DrawingView.get_ReferenceDataDisplayStyle()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="visual-basic"&gt;Exception thrown: 'System.Runtime.InteropServices.COMException' in mscorlib.dll
System.Transactions Critical: 0 :
&amp;lt;Exception&amp;gt;
     &amp;lt;ExceptionType&amp;gt;System.Runtime.InteropServices.COMException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&amp;lt;/ExceptionType&amp;gt;
     &amp;lt;Message&amp;gt;Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))&amp;lt;/Message&amp;gt;
at Inventor.DrawingView.get_ReferenceDataDisplayStyle()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Also, when the code breaks, and I use the Dynamic View in Visual Studio 2022, this property is not among the many identified for this object.&lt;BR /&gt;&lt;BR /&gt;Has anyone gotten this to work?&lt;BR /&gt;&lt;BR /&gt;Currently running Inventor 2024.3 and my application references version 28.2 of the interop.dll&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 23:31:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/drawingview-referencedatadisplaystyle-does-not-appear-functional/m-p/12833476#M168391</guid>
      <dc:creator>josh.nieman</dc:creator>
      <dc:date>2024-06-11T23:31:59Z</dc:date>
    </item>
  </channel>
</rss>

