Selects the references. The references can be an element or a subelement in the host or a linked document.
Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2023
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- references
- Type: System.Collections.Generic IList Reference
The references to be selected.
Remarks
This function will select the specified references and update the UI.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |
| Autodesk.Revit.Exceptions InvalidOperationException | Changing the selection is not permitted while handling SelectionChanged Event. |