<?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: Calling execute method after button click in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649262#M23510</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11264549"&gt;@an_vuong.nguyen&lt;/a&gt;,&lt;BR /&gt;If your command (&lt;SPAN&gt;class that implements IExternalCommand&lt;/SPAN&gt;) already loaded into the revit app, and you can manually run it from (Add-Ins &amp;gt; External Tools),&lt;BR /&gt;so I think you can try&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2022/b0df464d-1733-ea9e-ac40-399fa9c9a037.htm" target="_blank" rel="noopener"&gt;PostCommand()&lt;/A&gt;&amp;nbsp;function which used to excute external commands or Revit built in postable commands!&lt;BR /&gt;I hope it helps&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 09:20:58 GMT</pubDate>
    <dc:creator>Omar_Amen</dc:creator>
    <dc:date>2021-09-27T09:20:58Z</dc:date>
    <item>
      <title>Calling execute method after button click</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649201#M23509</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to call execute method of a class that implements IExternalCommand after clicking button in WPF. Sorry for my non REVIT_API question. But I wonder if anyone has the same problem like me when working on revit api and wpf. This post:&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/wpf-button-execute-external-command/td-p/5955892" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/wpf-button-execute-external-command/td-p/5955892&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;has the same question like me. But i did not find solution there. Can anyone help me?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 08:40:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649201#M23509</guid>
      <dc:creator>an_vuong.nguyen</dc:creator>
      <dc:date>2021-09-27T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calling execute method after button click</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649262#M23510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11264549"&gt;@an_vuong.nguyen&lt;/a&gt;,&lt;BR /&gt;If your command (&lt;SPAN&gt;class that implements IExternalCommand&lt;/SPAN&gt;) already loaded into the revit app, and you can manually run it from (Add-Ins &amp;gt; External Tools),&lt;BR /&gt;so I think you can try&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2022/b0df464d-1733-ea9e-ac40-399fa9c9a037.htm" target="_blank" rel="noopener"&gt;PostCommand()&lt;/A&gt;&amp;nbsp;function which used to excute external commands or Revit built in postable commands!&lt;BR /&gt;I hope it helps&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 09:20:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649262#M23510</guid>
      <dc:creator>Omar_Amen</dc:creator>
      <dc:date>2021-09-27T09:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calling execute method after button click</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649352#M23511</link>
      <description>&lt;P&gt;another solution you can use...&lt;BR /&gt;impalement&amp;nbsp;&lt;A href="https://www.revitapidocs.com/2022/f265a2c9-8540-9c97-9b37-4f7442becac2.htm" target="_blank" rel="noopener"&gt;IExternalEventHandler&lt;/A&gt;&amp;nbsp; instead of&amp;nbsp;&lt;SPAN&gt;IExternalCommand and then anywhere anytime you can raise the event (which has all the command logic [just like IExternalCommand])&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 10:02:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calling-execute-method-after-button-click/m-p/10649352#M23511</guid>
      <dc:creator>Omar_Amen</dc:creator>
      <dc:date>2021-09-27T10:02:27Z</dc:date>
    </item>
  </channel>
</rss>

