Message 1 of 7
Intersection of two ModelItemCollection objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
is there any built-in method which can return only model items contained in both ModelItemCollection-s (something like the intersection of two sets)? If not, what is the best way to achieve this? I was thinking about HashSet<ModelItemCollection> in order to use built-in HashSet logical operations, but I'm not quite sure how Navisworks Equals method works (or ValueEquals or whatever similar I've found in the API) so any help would be appreciated.
Thanks in advance