RVTDocs.com
Namespace: Autodesk.Revit.UI Class: UIApplication

UIApplication.ActiveUIDocument

Property
Description:
Provides access to an object that represents the currently active project.
Remarks:
External API commands can access this property in read-only mode only! The ability to modify the property is reserved for future implementations.
Syntax
public virtual UIDocument ActiveUIDocument { get; }
Exceptions
Exception Condition
InvalidOperationException Thrown when attempting to modify the property.