Make ShowElements act like Show button in Select by ID menu.

Make ShowElements act like Show button in Select by ID menu.

scott_mackenzieWQMNB
Explorer Explorer
212 Views
1 Reply
Message 1 of 2

Make ShowElements act like Show button in Select by ID menu.

scott_mackenzieWQMNB
Explorer
Explorer

Hello, I am new to Revit API, and I was wondering if there was a way to make the ShowElements() command work similar to how the "show" button works in the Select by ID menu? I want it to work based off of elements in my uiDoc.Selection. Thank you!

0 Likes
213 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Dear Scott,

  

Welcome to the Revit API!

  

I am not sure exactly what you are after, but maybe this old article from 2018 can provide a useful starting point:

  

https://thebuildingcoder.typepad.com/blog/2018/03/switch-view-or-document-by-showing-elements.html

  

Cheers

  

Jeremy

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes