<?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 How to use PostableCommand.TypeProperties and BeforeExecuted in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-use-postablecommand-typeproperties-and-beforeexecuted/m-p/10151333#M27558</link>
    <description>&lt;P&gt;Please share a minimal reproducible case that we can take a look at :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If nothing else helps, we can use that to ask the development team to take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 12:12:15 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2021-03-12T12:12:15Z</dc:date>
    <item>
      <title>How to use PostableCommand.TypeProperties and BeforeExecuted</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-use-postablecommand-typeproperties-and-beforeexecuted/m-p/10151314#M27557</link>
      <description>&lt;P&gt;I would like my addin to&amp;nbsp;listen for whether "Edit type" has been clicked. I can not get it work no matter what I try.&lt;/P&gt;&lt;P&gt;My code looks like the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;RevitCommandId commandIdEditSymboltest = RevitCommandId.LookupPostableCommandId(PostableCommand.TypeProperties);
AddInCommandBinding commandBinding = application.CreateAddInCommandBinding(commandIdEditSymboltest);
commandBinding.BeforeExecuted += MyEvent;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked that the command can have bindings and when i post the command the "Edit Type" dialog correctly opens.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 12:04:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-use-postablecommand-typeproperties-and-beforeexecuted/m-p/10151314#M27557</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-03-12T12:04:40Z</dc:date>
    </item>
    <item>
      <title>How to use PostableCommand.TypeProperties and BeforeExecuted</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-use-postablecommand-typeproperties-and-beforeexecuted/m-p/10151333#M27558</link>
      <description>&lt;P&gt;Please share a minimal reproducible case that we can take a look at :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If nothing else helps, we can use that to ask the development team to take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 12:12:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-use-postablecommand-typeproperties-and-beforeexecuted/m-p/10151333#M27558</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2021-03-12T12:12:15Z</dc:date>
    </item>
  </channel>
</rss>

