Returns the references that are currently selected.
Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
C#
public IList<Reference> GetReferences()
Return Value
IList<Reference>The collection containing the selected references.