DockableDialog - wrong content displayed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
I have downloaded Jeremy Tammik's DockableDialog (simple) Sample from github:
https://github.com/jeremytammik/DockableDialog
and changed all settings (.NET Framework target version) to build this solution for Revit 2018.2
After integrating the add-in file into Revit 2018.2 the “AecLabs“ ribbon and all buttons are shown as expected. But the “register dockablewindow“ button is greyed out directly after the startup of Revit and clicking the “show dockablewindow“ button opens a docked dialog - but instead of the content defined in the “mainpage.xaml“ a “P&ID modeler“ dialog comes up.
I have also tried to replace all (three?) occurrences of the panel's GUID in the sourcecode in the “ribbon.cs“ by a newly generated GUID but after that nothing really works and Revit displays an error message after trying to use the “show dockablewindow“ button.
Can anybody tell me what went wrong? Or has anybody managed to realise a dockable dialog or modeless windows form for the Revit API with VB.net - I am not really a friend of that C# “stuff“.
Thanks, Sebastian