<Code Lib>
2025 Method
Changes 0
M

Selection.GetElementIds

Description:
Returns the ids of the elements that are currently selected within the project. The selection may not be complete. See GetReferences for more options.

public ICollection<ElementId> GetElementIds()

ICollection<ElementId> The collection containing the ids of the selected elements.

Loading…