<?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 Bug Report, Revit API 2016: Deleted View problem in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6452547#M64007</link>
    <description>&lt;P&gt;I created an addin command what creates a view. If I delete that view in Revit and use the addin command again I&amp;nbsp;get an exception. But not always. If I change between views a few time before the command, sometimes I dont get exception.&amp;nbsp;I think the document.ActiveView gives back the deleted view or something like that.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256831i78C7429C894A83D7/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="fb.jpg" title="fb.jpg" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2016 15:10:00 GMT</pubDate>
    <dc:creator>StruSoft_Iwona</dc:creator>
    <dc:date>2016-07-21T15:10:00Z</dc:date>
    <item>
      <title>Bug Report, Revit API 2016: Deleted View problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6452547#M64007</link>
      <description>&lt;P&gt;I created an addin command what creates a view. If I delete that view in Revit and use the addin command again I&amp;nbsp;get an exception. But not always. If I change between views a few time before the command, sometimes I dont get exception.&amp;nbsp;I think the document.ActiveView gives back the deleted view or something like that.&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256831i78C7429C894A83D7/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="fb.jpg" title="fb.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 15:10:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6452547#M64007</guid>
      <dc:creator>StruSoft_Iwona</dc:creator>
      <dc:date>2016-07-21T15:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report, Revit API 2016: Deleted View problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6452670#M64008</link>
      <description>&lt;P&gt;As I thought ... active view name: "???"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In revit dialog the active view&amp;nbsp;is automatically selected after a view deletion but the API dont give that view back as active view.&lt;BR /&gt;&lt;BR /&gt;After creation:&lt;BR /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256846iCA82FC3466BB492F/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="q1.jpg" title="q1.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;After deletion (3D view automatically selected and the exception occurs):&lt;BR /&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/256848i7BD77F0EF5F1EABD/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="q2.jpg" title="q2.jpg" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2016 15:57:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6452670#M64008</guid>
      <dc:creator>StruSoft_Iwona</dc:creator>
      <dc:date>2016-07-21T15:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report, Revit API 2016: Deleted View problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6453759#M64009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it would be better to use uiApp.ActiveUIDocument.Active&lt;U&gt;&lt;STRONG&gt;Graphical&lt;/STRONG&gt;&lt;/U&gt;View insted of a document's ActiveView since there may be active (focused) non-graphical views, e.g. Project browser, properties palette or custom palettes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 07:09:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6453759#M64009</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2016-07-22T07:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bug Report, Revit API 2016: Deleted View problem</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6568075#M64010</link>
      <description>&lt;P&gt;Thanks &lt;SPAN&gt;Revitalizer,&amp;nbsp;&lt;/SPAN&gt;I also think&amp;nbsp;UIDocument.ActiveGraphicalView&amp;nbsp;&lt;SPAN&gt;is safer choice.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2016 02:06:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bug-report-revit-api-2016-deleted-view-problem/m-p/6568075#M64010</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2016-09-17T02:06:09Z</dc:date>
    </item>
  </channel>
</rss>

