PreviousActiveView Property


The previously active view.

Namespace: Autodesk.Revit.UI.Events
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2010

Syntax

C#
public View PreviousActiveView { get; }
Visual Basic
Public ReadOnly Property PreviousActiveView As View
	Get
Visual C++
public:
property View^ PreviousActiveView {
	View^ get ();
}

Remarks

May be a null reference ( Nothing in Visual Basic) if there was no previously active view.

See Also

ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →