Revit 2025 API
UIView
Close Method
Closes the view.
Namespace:
Autodesk.Revit.UI
Assembly:
RevitAPIUI (in RevitAPIUI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
C#
VB
C++
F#
Copy
public
void
Close
()
Public
Sub
Close
public
:
void
Close
()
member
Close
:
unit
->
unit
Exceptions
Exception
Condition
InvalidOperationException
Cannot close a project's only open view.
See Also
Reference
UIView Class
Autodesk.Revit.UI Namespace
Send comments on this topic to
Autodesk