Share Email Facebook Twitter LinkedIn UIDocument.Selection Property Retrieve the currently selected Elements in Autodesk Revit.Namespace: Autodesk.Revit.UIAssembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.2.0.0 (26.2.0.0) Syntax C# public Selection Selection { get; }Property ValueSelection RemarksReturns an object that represents the active selection. The Selection property returns an object that represents the active selection when the command was started. See AlsoReferenceUIDocument ClassAutodesk.Revit.UI Namespace