RegisterDockablePane Method


Adds a new dockable pane to the Revit user interface.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 19.0.0.0 (19.0.0.405)
Since: 2014

Syntax

C#
public void RegisterDockablePane(
	DockablePaneId id,
	string title,
	IDockablePaneProvider provider
)
Visual Basic
Public Sub RegisterDockablePane ( _
	id As DockablePaneId, _
	title As String, _
	provider As IDockablePaneProvider _
)
Visual C++
public:
void RegisterDockablePane(
	DockablePaneId^ id, 
	String^ title, 
	IDockablePaneProvider^ provider
)

Parameters

id
Type: Autodesk.Revit.UI DockablePaneId
Unique identifier for the new pane.
title
Type: System String
String to use for the pane caption.
provider
Type: Autodesk.Revit.UI IDockablePaneProvider
Your add-in's implementation of the IDockablePaneProvider interface.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown if a dockable pane with identifier %id% has already been registered.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →