Share

UIApplication.ActiveUIDocument Property

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

UIDocument

Exceptions

ExceptionCondition
InvalidOperationExceptionThrown when attempting to modify the property.

Remarks

External API commands can access this property in read-only mode only! The ability to modify the property is reserved for future implementations.

See Also

Reference

Was this information helpful?