GetDockablePane Method


UIControlled Application Get Dockable Pane Method

Gets a DockablePane object by its ID.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 27.0.4.0 (27.0.4.0)
Syntax
public DockablePane GetDockablePane(
	DockablePaneId id
)

Parameters

id DockablePaneId
Unique identifier for the new pane.

Return Value

DockablePane
Exceptions
Exception Condition
ArgumentException Thrown if no dockable pane has been registered with identifier %id%.
ArgumentException Thrown if the dockable pane with identifier %id% has not been created yet.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →