Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

View.GetFilters should return Filters in the order they are applied to a view

View.GetFilters should return Filters in the order they are applied to a view

The function View.GetFilters should return ElementIDs of the Filters in the order they are applied to a view in the visibility graphics dialogue for that view.

 

This order is important to know as the higher filter takes precedence over the lower filter. Two filters may be applicable to the same element but if they are contradictory (different colours of surface fill pattern etc.) only the highest one will be applied.

 

https://forums.autodesk.com/t5/revit-api-forum/get-the-top-view-filter-applied-to-one-element/m-p/76...

5 Comments
rossen.hristov
Enthusiast

This is really crucial for us as well. I need to decide whether an element will be visible in VRay for Revit depending on the filters applied, but they are always returned in the order they were created and not in the order they appear on the screen. If Revit knows the order, the API could easily return them in the same order so that other plugins can use them in the same manner as Revit does.

harlan_brumm
Autodesk
Status changed to: Accepted
 
harlan_brumm
Autodesk
Status changed to: Implemented

This has now been implemented in Revit 2021.

 

-The Factory

Tarek_K
Autodesk
Status changed to: Gathering Support
 
Tarek_K
Autodesk
Status changed to: Implemented
 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea  

Autodesk Design & Make Report


Autodesk Design & Make Report