<?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 Re: Auto Open Many Previous View When Open Project in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575282#M7004</link>
    <description>&lt;P&gt;I want Revit to automatically reopen views when closing the previous project. Thanks you.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 06:03:28 GMT</pubDate>
    <dc:creator>ngvanphong2012</dc:creator>
    <dc:date>2024-02-22T06:03:28Z</dc:date>
    <item>
      <title>Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575150#M7002</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want auto open previous views when open project. Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1328977i44ED198EE1ADC0FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 03:54:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575150#M7002</guid>
      <dc:creator>ngvanphong2012</dc:creator>
      <dc:date>2024-02-22T03:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575263#M7003</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7854985"&gt;@ngvanphong2012&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; you need to open all views in the Open Project ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 05:50:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575263#M7003</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2024-02-22T05:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575282#M7004</link>
      <description>&lt;P&gt;I want Revit to automatically reopen views when closing the previous project. Thanks you.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 06:03:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575282#M7004</guid>
      <dc:creator>ngvanphong2012</dc:creator>
      <dc:date>2024-02-22T06:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575373#M7005</link>
      <description>&lt;P&gt;While Closing the Project you need to reopen all the Views of the closing project, I'm right ?&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 07:00:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575373#M7005</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2024-02-22T07:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575580#M7006</link>
      <description>&lt;P&gt;That's right, I want to reopen the project views that were closed last time&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 09:13:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575580#M7006</guid>
      <dc:creator>ngvanphong2012</dc:creator>
      <dc:date>2024-02-22T09:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Auto Open Many Previous View When Open Project</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575622#M7007</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7854985"&gt;@ngvanphong2012&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Yeah Now I get Understand. There is no direct method for that, Below steps are work around steps&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;First you need to implement two interfaces&amp;nbsp;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://www.revitapidocs.com/2021.1/f6573d8b-20ca-1ec7-fb20-755e3c02ec06.htm" target="_blank" rel="noopener"&gt;DocumentClosing Event&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.revitapidocs.com/2021.1/ca44b05b-3875-ed67-cbff-281d5aef48c6.htm" target="_blank" rel="noopener"&gt;DocumentOpening Event&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;DocumentClosing Event Implementation&lt;/STRONG&gt;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;You need to filter all the opened view and save the view names in &lt;A href="https://www.revitapidocs.com/2021.1/9817e7db-8367-ea4e-1769-0488f3faa37f.htm" target="_blank" rel="noopener"&gt;Extensible Storage&lt;/A&gt;&amp;nbsp;within the document.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;DocumentOpening Event Implementation&lt;/STRONG&gt;&lt;OL&gt;&lt;LI&gt;While opening the document you need to check any view names present in the&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2021.1/9817e7db-8367-ea4e-1769-0488f3faa37f.htm" target="_blank" rel="noopener"&gt;Extensible Storage.&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;If you get any view names then open the views once document is opened.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;By using this two events you can able to do you task. Below i have gave you few links that help you to implement the Revit Events.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Event Implementation Link&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="https://help.autodesk.com/view/RVT/2024/ESP/?guid=Revit_API_Revit_API_Developers_Guide_Advanced_Topics_Events_Registering_Events_html" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/RVT/2024/ESP/?guid=Revit_API_Revit_API_Developers_Guide_Advanced_Topics_Events_Registering_Events_html&lt;/A&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope this will Helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 09:33:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/auto-open-many-previous-view-when-open-project/m-p/12575622#M7007</guid>
      <dc:creator>Mohamed_Arshad</dc:creator>
      <dc:date>2024-02-22T09:33:23Z</dc:date>
    </item>
  </channel>
</rss>

