Anuncios
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!

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...