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

UIDocument.Selection

Property
Description:
Retrieve the currently selected Elements in Autodesk Revit.
Remarks:
Returns an object that represents the active selection. The Selection property returns an object that represents the active selection when the command was started.
Syntax
public Selection Selection { get; }