<?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: current command id in updater in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6208888#M67060</link>
    <description>Hi Arnošt,&lt;BR /&gt;I don't think I'm terribly surprised. I thought maybe that Revit kept some idea of this but now that you explain it, it's fairly obvious that it would be a fool's errand to try and keep track of.&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Thu, 10 Mar 2016 15:29:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-10T15:29:02Z</dc:date>
    <item>
      <title>current command id in updater</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6207219#M67058</link>
      <description>&lt;P&gt;Any way to determine which Revit command was executed that triggered an updater?&amp;nbsp; I suppose something along the lines of a context for the updater.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for instance, in an updater, I'd like to know that this was triggered because the user pressed the "Remove system" command then I could potentially respond more intelligently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2016 19:32:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6207219#M67058</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-09T19:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: current command id in updater</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6207732#M67059</link>
      <description>&lt;P&gt;Ken,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it is a request that is practicaly impossible to satisfy. There is no rule or guarantee that a transaction (at which end an updater is invoked) is part of a command at all or that t has any association with the current command. I am afraid you'd get a lot of false positives and if the logic of your app depends on figuring out current commands&amp;nbsp;you will&amp;nbsp;make a lot of wrong conclusions. Take, for example the Idling event - there is not command, yet there can be a lot of transactions committed, and Revit has no idea about the nature of those transaction. In take even a regular events raised during&amp;nbsp;standard commands - even though events are raised during commands it does not mean that handlers of the events are obligated to make changes that are&amp;nbsp;actually related to the command (they should, but they are not obligated.)&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2016 00:33:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6207732#M67059</guid>
      <dc:creator>arnostlobel</dc:creator>
      <dc:date>2016-03-10T00:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: current command id in updater</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6208888#M67060</link>
      <description>Hi Arnošt,&lt;BR /&gt;I don't think I'm terribly surprised. I thought maybe that Revit kept some idea of this but now that you explain it, it's fairly obvious that it would be a fool's errand to try and keep track of.&lt;BR /&gt;&lt;BR /&gt;Thanks for your response. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 10 Mar 2016 15:29:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6208888#M67060</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-10T15:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: current command id in updater</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6210356#M67061</link>
      <description>I think your best bet would be to carefully craft the updater filters and select specific changetypes to infer more information about the changes and how best to respond.</description>
      <pubDate>Fri, 11 Mar 2016 05:36:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/current-command-id-in-updater/m-p/6210356#M67061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-11T05:36:08Z</dc:date>
    </item>
  </channel>
</rss>

