Provides access to an object that represents the currently active project.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public virtual UIDocument ActiveUIDocument { get; }
Property Value
UIDocumentExceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when attempting to modify the property. |