Message 1 of 10
DockablePanes hide on Document switch in Revit 2019
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Did anyone else notice that third-party dockable panes hide after closing one document and opening another within the same Revit instance? If I instead close and reopen Revit, the pane is still there. I did not have any issues with dockable panes in previous versions and the same code still performs well on Revit <= 2018.
I have two related questions:
- is this possibly a bug in Revit or the API? Can anyone confirm this issue?
- if this is indeed a Revit problem is there any way to work around this? I thought of storing the visibility
state and restoring it at some point. A first experiment that aims to do this in DocumentOpening/Closing
did not seem to work. I suspect that I don't have access to the dockable pane at this point. Which event would be right to save/load Dockable Pane state?
My issue can be reproduced with the Dockable Dialogs example from the 2019 SDK.