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.11k stars 301 forks source link

Revit Lookup Cast Error Wpf.Ui.Controls.TitleBar #272

Open binghuinew opened 3 months ago

binghuinew commented 3 months ago

RevitLookup version

[2025.0.8]

Steps to reproduce

✔️ Expected Behavior

Revit Lookup can be opened.

❌ Actual Behavior

When I open Dynamo and run a Python node (— where I’m only calculating 3+5), whether it’s Python or “Python from Script”, everything works as expected. However, after this, I am unable to open Revit Lookup.

If I debug Revit Lookup, I got this wpf error: Snipaste_2024-08-12_13-03-10

Unbenanntes Bild

on dynamo Forum: https://forum.dynamobim.com/t/revit-lookup-error-after-running-dynamo-python-node/103472

Other Software

Dynamo Core: 3.0.3.7597 Dynamo Revit: 3.0.3.4605 Revit Version: 2025.1 Revit Lookup: [2025.0.8]

Nice3point commented 3 months ago

Bug confirmed. It is only observed when opening Python Script, which loads about 80 additional dlls into memory, including an additional RevitLookup.UI dependency. If Lookup is already open, the search field breaks and does not display properly. There are non-obvious Python Script mechanics here that I'm not aware of, need more research and help from the Dynamo community

изображение