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

View methods overloading low performance #239

Open Nice3point opened 1 month ago

Nice3point commented 1 month ago

Execution of some methods takes quite a long time, about 4 seconds which is critical

Method Screen
CanCategoryBeHidden (ElementId) изображение
IsCategoryOverridable (ElementId) изображение

The reason for this is the presence of DWG links inside the families:

изображение

Should these methods be disabled or are they informative and should be kept? In models without DWG they are executed 16 ms

ricaun commented 1 month ago

Maybe this methods that require category as input should be generated only if the user click in the method, if the project have a lot of categories RevitLookup is checking for each one even if the user does not need that information.

I wonder how many categories do you have in this 4 second sample.