PaneExists Method


Returns true if %id% refers to a dockable pane window that currently exists in the Revit user interface, whether it's hidden or shown.

Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2014

Syntax

C#
public static bool PaneExists(
	DockablePaneId id
)
Visual Basic
Public Shared Function PaneExists ( _
	id As DockablePaneId _
) As Boolean
Visual C++
public:
static bool PaneExists(
	DockablePaneId^ id
)

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →