Since the update with the new Speckle2.0 new UI (alpha). I am facing problems with starting up my plugin. The plugin I am working on interacts with Speckle and it has MaterialDesign Theme WPF.
I suspect the conflict is with the newly implemented dynamic style of Speckle.
Thanks for debugging this, can you please tell me which file are those lines from?
What is weird is that it looks like they come from DUI1 and not from DUI2, therefore you could potentially just get rid of the old UI from Revit and just use the new one (something we’re planning to do soon anyway).
Thank you for a quick reply. My apologies for the confusion. The ResourceDictionary is from the plugin that I’m working on. Somehow, we are not able to reference …/MaterialDesignTheme.Default.xaml in the ResourceDictionary. When we delete line 4 in our code. We are able to start our application but with the cost of having an empty window.
And if we leave it on. We will get an error and also not be able to start Speckle Revit connector anymore.
Thanks for clarifying! As I suggested earlier, if you delete any DesktopUI 1 reference in the Revit Connector, things should work. DUI1 was using WPF and MaterialDesign, DUI2 uses a different framework.
Do you have any idea on when the old plug-in UI will be deleted from the general installer through Speckle Manager? Would be useful to know as our plug-in depends on this update.
Apologies for not replying, we decided to stop dev for a while till the UI has been deleted from the codebase as it would block our app release anyway. Now we continued and I still have the conflicts with the Material design DLLs, I can simply delete them to continue development, as it these are not being used in Speckle Revit anymore.
But before we release it would be nice if the material design stuff in Speckle Revit is not being build while installing the application, is that possible?
Good spot, we are still packaging those libs as Revit 2019 is not compatible with our new UI, but we can definitely prevent those dlls from copying - can you please just point me to the problematic ones?