| Revit 2024 API |
| UIDocument..::..Selection Property |
| UIDocument Class See Also |
Retrieve the currently selected Elements in Autodesk Revit.
Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 24.0.0.0 (24.0.0.0)
Syntax
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.