Show elements in current view only

Show elements in current view only

martynas.blinstrubis4CF26
Explorer Explorer
253 Views
1 Reply
Message 1 of 2

Show elements in current view only

martynas.blinstrubis4CF26
Explorer
Explorer

Good day,

I have a problem showing elements in current view only.

Method _uiDoc.ShowElements(someIds) zooms to elements as needed but it also selects any suitable view that is open in Revit. Is it possible to show these elements only in selected view (or current active view).

Thanks 

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

jeremy_tammik
Alumni
Alumni

I am not aware of any possibility to restrict its choice of view to use. I asked the development team for you to make sure.

 

Please also search the Revit Idea Station for ShowElement.

 

I see two entries in there that may be applicable to your use case. If so, you might want to vote for them.

 

Whenever you require new or enhanced Revit product or Revit API functionality, the Revit Idea Station is the place to go.

 

Please search there for a corresponding wish list entry for the suggested functionality and add your comments to it, or create a new one, if none already exists:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302

 

Tag it as an API wish:

 

https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api

 

Ensuring that a wish gets as many votes as possible helps underline its importance to you and the rest of the developer community.

 

The Revit Idea Station is currently one of the main driving input forces for Revit API enhancements.

 

The Revit development team look there. Your comment here in the discussion forum might be overlooked.

 

Thank you!

 

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