jeremytammik / RevitLookup

Interactive Revit RFA and RVT project database exploration tool to view and navigate BIM element parameters, properties and relationships.
http://thebuildingcoder.typepad.com
MIT License
1.03k stars 294 forks source link

Separate thread for UI #166

Closed Nice3point closed 1 year ago

Nice3point commented 1 year ago

Summary of the Pull Request

What is this about:

Support for a new thread for the user interface

Description:

The feature is added to the existing "Hardware acceleration" option. The new thread allows us to offload the main thread and reduce interface freezes while Revit performs its tasks.

Need more tests to add this feature and possibly change the code. Turning it off closes all instances of RevitLookup, which may come as a surprise

Quality Checklist

Nice3point commented 1 year ago

The new thread probably gets around this issue https://github.com/jeremytammik/RevitLookup/issues/155 and situations where with a selected roof the UI slows down a lot, even in Revit itself.