I keep getting this exception when iterating trough a FilteredElementCollector.
Exception thrown at 0x00007FFA03A27788 in Revit.exe:
Microsoft C++ exception: InvalidOperationException at memory location 0x00000099B64FADA8.
If there is a handler for this exception, the program may be safely continued.