Revit 2025.3 API
UIApplicationRegister |
Adds a new dockable pane to the Revit user interface.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void RegisterDockablePane( DockablePaneId id, string title, IDockablePaneProvider provider )
Public Sub RegisterDockablePane ( id As DockablePaneId, title As String, provider As IDockablePaneProvider )
public: void RegisterDockablePane( DockablePaneId^ id, String^ title, IDockablePaneProvider^ provider )
member RegisterDockablePane : id : DockablePaneId * title : string * provider : IDockablePaneProvider -> unit
Parameters
- id DockablePaneId
- Unique identifier for the new pane.
- title String
- String to use for the pane caption.
- provider IDockablePaneProvider
- Your add-in's implementation of the IDockablePaneProvider interface.
| Exception | Condition |
|---|---|
| ArgumentException | Thrown if a dockable pane with identifier %id% has already been registered. |
See Also