<?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: Get Command ID from Journal in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3658140#M80345</link>
    <description>&lt;P&gt;I investigated a bit into this and found the following entry in the Journal file for the Add A Symbol button click:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Jrn.PushButton "ToolBar , {}{} , Dialog_Family_FaminstLeaderDlgbar" _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , "Add a Leader, Control_Family_FaminstAddleader"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what it seems, many Revit actions are not performed using commands -&amp;nbsp;actions can be taken directly in controls which seems to be happening here. So it seems we cannot get/use the CommandId to replace this functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need a workaround, I am thinking if you can use the IUpdater mechanism to track for newly added symbol and take some steps as appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2012 21:36:21 GMT</pubDate>
    <dc:creator>saikat</dc:creator>
    <dc:date>2012-10-12T21:36:21Z</dc:date>
    <item>
      <title>Get Command ID from Journal</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3657970#M80344</link>
      <description>&lt;P&gt;I give up.&amp;nbsp; I've spent a good amount of time on Google and maybe it's just because it's Friday afternoon, but I cannot find my answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to play with 2013's ability to replace built-in commands.&amp;nbsp; I see that I can look through the journal file to get commands.&amp;nbsp; I also found a nice Excel sheet that listed a lot of the command IDs already.&amp;nbsp; The Command ID I am looking for does not seem to be in the Excel file, and looking through the Journal file gives me no help in figuring out what the command ID is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am specifically flooking for the Add a Leader under Symbol command, but would love to know how to determine it myself.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 19:57:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3657970#M80344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-12T19:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Get Command ID from Journal</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3658140#M80345</link>
      <description>&lt;P&gt;I investigated a bit into this and found the following entry in the Journal file for the Add A Symbol button click:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Jrn.PushButton "ToolBar , {}{} , Dialog_Family_FaminstLeaderDlgbar" _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , "Add a Leader, Control_Family_FaminstAddleader"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what it seems, many Revit actions are not performed using commands -&amp;nbsp;actions can be taken directly in controls which seems to be happening here. So it seems we cannot get/use the CommandId to replace this functionality.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need a workaround, I am thinking if you can use the IUpdater mechanism to track for newly added symbol and take some steps as appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;cheers&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 21:36:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3658140#M80345</guid>
      <dc:creator>saikat</dc:creator>
      <dc:date>2012-10-12T21:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Command ID from Journal</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3659670#M80346</link>
      <description>&lt;P&gt;I had found that line in the Journal as well, I just assumed that I didn't know how to translate it.&amp;nbsp; Sadly, not the case!&lt;/P&gt;&lt;P&gt;I will do some reading into the IUpdater.&amp;nbsp; Haven't used that yet.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Oct 2012 13:40:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/get-command-id-from-journal/m-p/3659670#M80346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-15T13:40:21Z</dc:date>
    </item>
  </channel>
</rss>

