jeremytammik/RevitLookup

Revit Lookup Cast Error Wpf.Ui.Controls.TitleBar

Opened this issue · 1 comments

RevitLookup version

[2025.0.8]

Steps to reproduce

  • open dynamo
  • run a python node (for example: calculate 3+5)
  • run Revit Lookup (can not)

✔️ 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]

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

изображение