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: 

Implement the Equals comparer for Revit Elements

Implement the Equals comparer for Revit Elements

I wish the Equals default comparer to be implemented for Revit Elements. The comparer could compare 2 elements based on their Id or UniqueId and Document.

This would allow us to use many shortcuts in code, such as:

if(elementA == elementB)

listElement.Contains(element)

etc...

 

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

Submit Idea