Share

Selection.GetReferences Method

Returns the references that are currently selected.


Namespace: Autodesk.Revit.UI.Selection
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public IList<Reference> GetReferences()

Return Value

IList<Reference>
The collection containing the selected references.

Remarks

The references can be an element or subelement in the host or a linked document.

See Also

Reference

Was this information helpful?