Revit .NET has provided the DockablePane API since version 2014. In this series of posts, we are going to explore the Revit DockablePane .NET API step by step.
In the first part, we created the simplest custom DockablePane to get the basic idea about the DockablePane API. After that, we enhanced the custom DockablePane step by step, e.g. docking it to the ElementView window, creating some code to show the custom DockablePane back, adding a button to the custom DockablePane which to call the Revit Save command, listing out the information about both the custom DockablePane itself and WPF Page it hosted, resetting the status such as docking/float and size of the custom DockablePane, listing out all native (built-in) DockablePane tabs such as Project Browser and Properties, and attaching the custom DockablePanel to a different tab, the Project Browser.
In this article, let us try to do the final task, which is also very common, unregistering the custom DockablePanel.
Through digging here and there, we found it is not possible since the Revit DockablePanel .NET API doesn’t provide any means about it.
Revit Addin Wizard (RevitAddinWizard) provides various wizards, coders and widgets to help program Revit addins. It can be downloaded from the Download link at the bottom of the blog index page.