<?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: Element selection from dockable panel in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6903595#M68138</link>
    <description>&lt;P&gt;I'm having the same exact issue. Could you please confirm if this is a known bug&amp;nbsp;and if it has been fixed?&lt;/P&gt;</description>
    <pubDate>Sat, 25 Feb 2017 20:15:44 GMT</pubDate>
    <dc:creator>tsc444</dc:creator>
    <dc:date>2017-02-25T20:15:44Z</dc:date>
    <item>
      <title>Element selection from dockable panel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/5994498#M68136</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I trying to write plugin into Revit. I need highlight model from my dockable panel. I created two buttons, on this panel, one of them selects all walls and the other - all floors. I am using next code for this selection.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;  public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            UIDocument uiDoc = commandData.Application.ActiveUIDocument;
            uiDoc.Selection.SetElementIds(Manager.GetAllElements());
            return Result.Succeeded;
        }&lt;/PRE&gt;&lt;P&gt;When I press button and return focus to Revit it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But there are some strange behavior in Revit. If I choose walls at start, then choose floors, return to Revit I will see that floors will be selected there. It`s ok. When I deselect all elements in Model-view (3D-view), than click on dockable panel and go back to Revit, it will select walls (elements which was chosen in the penultimate step).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use Revit Architecture 2016 .&lt;BR /&gt;Have you any idea why it happens?&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2016 20:57:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/5994498#M68136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T20:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Element selection from dockable panel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6016822#M68137</link>
      <description>This should be a known issue, if you upgrade Revit, the problem might disappear</description>
      <pubDate>Mon, 01 Feb 2016 08:12:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6016822#M68137</guid>
      <dc:creator>Aaron.Lu</dc:creator>
      <dc:date>2016-02-01T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Element selection from dockable panel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6903595#M68138</link>
      <description>&lt;P&gt;I'm having the same exact issue. Could you please confirm if this is a known bug&amp;nbsp;and if it has been fixed?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 20:15:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6903595#M68138</guid>
      <dc:creator>tsc444</dc:creator>
      <dc:date>2017-02-25T20:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Element selection from dockable panel</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6903596#M68139</link>
      <description>&lt;P&gt;DId you ever find out what the problem was? I'm having the same exact issue and cannot come up with a solution in Revit 2016.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Feb 2017 20:16:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/element-selection-from-dockable-panel/m-p/6903596#M68139</guid>
      <dc:creator>tsc444</dc:creator>
      <dc:date>2017-02-25T20:16:18Z</dc:date>
    </item>
  </channel>
</rss>

