Message 1 of 3
Disable DockablePane for IExternalCommand Execute
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear all,
I have been searching for a while, but did not find an elegant solution yet. Using Revit 2020 at the moment.
I have a DockablePane in my application. It is similar to what is done in the DockableDialogs Revit SDK sample.
If a command that derives from IExternalCommand is executed, all the buttons in the UI and also the Project Browser is disabled, see picture. The custom DockablePane is still enabled and every button/element can be used. I want the whole pane to be disabled.
I know I could use the IsEnabled binding of the view. But I want to use the Revit UI state if possible.
Does anyone know if and how this is possible?
Thanks in advance!