<?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: View Sheet Activated Event in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9649239#M32969</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3064449"&gt;@Sean_Page&lt;/a&gt;&amp;nbsp;thanks for the heads up! I put my code in a separate command, used add-in manager to debug, and found a null reference exception. I wasn't aware that event based scripts wouldn't throw an error if there is one - good to know!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jul 2020 14:18:36 GMT</pubDate>
    <dc:creator>josh.roth.MEI</dc:creator>
    <dc:date>2020-07-22T14:18:36Z</dc:date>
    <item>
      <title>View Sheet Activated Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9647689#M32967</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently have a script in my custom application that uses the ViewActivated Event to change the workset of workshared models (we are an MEP firm and have separate worksets for enlarged plans). I am noticing, however, that opening/switching to a sheet does not trigger the ViewActivated Event, and I am wondering if there is another event that I should be using instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 19:53:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9647689#M32967</guid>
      <dc:creator>josh.roth.MEI</dc:creator>
      <dc:date>2020-07-21T19:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: View Sheet Activated Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9648165#M32968</link>
      <description>&lt;P&gt;The ViewActivated event handler does fire when changing to a ViewSheet view. What elements on a sheet are you trying to changed since most items will either be viewports or schedules on a sheet. It may help if you could share more about what you are wanting to do.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 02:08:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9648165#M32968</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2020-07-22T02:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: View Sheet Activated Event</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9649239#M32969</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3064449"&gt;@Sean_Page&lt;/a&gt;&amp;nbsp;thanks for the heads up! I put my code in a separate command, used add-in manager to debug, and found a null reference exception. I wasn't aware that event based scripts wouldn't throw an error if there is one - good to know!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 14:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/view-sheet-activated-event/m-p/9649239#M32969</guid>
      <dc:creator>josh.roth.MEI</dc:creator>
      <dc:date>2020-07-22T14:18:36Z</dc:date>
    </item>
  </channel>
</rss>

