<?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: Bind Link with uiapp.PostCommand( in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8058034#M49524</link>
    <description>&lt;P&gt;Not all commands are postable&amp;nbsp;usually not the contextual ones where you have to select something first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List the values in the PostableCommand enumeration do a search for 'bind' to see if you can find it, I can't.&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jun 2018 19:29:31 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2018-06-09T19:29:31Z</dc:date>
    <item>
      <title>Bind Link with uiapp.PostCommand(</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8052365#M49523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't seem to get bind link working through the uiapp.PostCommand(&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The revit&amp;nbsp;2018 keyboard shorcuts gives:&lt;/P&gt;&lt;PRE&gt;CommandName: Bind Link
CommandId: Dialog_Essentials_RvtLinkInstanceStdDbar:Control_Essentials_BindLinkAsGroup
Paths: Contextual Tabs&amp;gt;Link&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not sure what to write as command_id or if any of the about should be written as a command id at all?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone tell me how I use the commanIds&amp;nbsp;starting with "Dialog"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;command_id= "meeeh?"
found_id = RevitCommandId.LookupCommandId(command_id)
uiapp.PostCommand(found_id)
    &lt;/PRE&gt;&lt;P&gt;I only get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Exception: The comandId must be in Autodesk.Revit.UI.PostableCommand or an external command.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I on the right track using the&amp;nbsp;&lt;A href="http://revit.downloads.autodesk.com/download/2018RVT_RTM/Docs/InProd/2018_Revit_Keyboard_Shortcuts.pdf" target="_blank"&gt;2018 Revit Keyboard Shortcuts PDF&lt;/A&gt;&amp;nbsp;or is there a better way to find the command&amp;nbsp;ids?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 06:43:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8052365#M49523</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-07T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Bind Link with uiapp.PostCommand(</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8058034#M49524</link>
      <description>&lt;P&gt;Not all commands are postable&amp;nbsp;usually not the contextual ones where you have to select something first.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;List the values in the PostableCommand enumeration do a search for 'bind' to see if you can find it, I can't.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 19:29:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8058034#M49524</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2018-06-09T19:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bind Link with uiapp.PostCommand(</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8590028#M49525</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I just discussed this topic in another newer thread on 'attaching a Revit link':&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/attach-a-revit-link/m-p/8589677" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/attach-a-revit-link/m-p/8589677&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In the course of that discussion, I discovered three other unresolved discussion threads requesting the same functionality:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/does-the-revit-api-provide-the-bind-linked-file-method/td-p/4299978" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/does-the-revit-api-provide-the-bind-linked-file-method/td-p/4299978&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8052365" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8052365&lt;/A&gt; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/possible-to-bind-link-model-programmatically/m-p/7798222" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/revit-api-forum/possible-to-bind-link-model-programmatically/m-p/7798222&lt;/A&gt; &lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The development team confirmed that this functionality is currently not available and ask all interested developers to create an entry for it in the Revit Idea Station and vote for that:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is currently not possible through the API. This seems like a good thing for Revit Ideas, especially if so many people are asking for it. Please submit an idea for this to the Revit Idea Station, if there is none there already, and vote for the existing one, if there is. Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 13:54:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/8590028#M49525</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-02-12T13:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Bind Link with uiapp.PostCommand(</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/9386568#M49526</link>
      <description>&lt;P&gt;Please vote for the wish in the Revit Idea Station:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/binding-linked-revit-model-with-api/idi-p/8590114" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/binding-linked-revit-model-with-api/idi-p/8590114&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 08:31:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/bind-link-with-uiapp-postcommand/m-p/9386568#M49526</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-03-19T08:31:10Z</dc:date>
    </item>
  </channel>
</rss>

