Selection.SetElementIds
Description:
Selects the elements.
Selects the elements.
Remarks:
This function will select the specified elements within the project and update the UI. See SetReferences for more selection options.
This function will select the specified elements within the project and update the UI. See SetReferences for more selection options.
public void SetElementIds(
ICollection<ElementId> elementIds
)
-
ICollection<ElementId>elementIdsThe ids of the elements to be selected.
-
A non-optional argument was null
-
Changing the selection is not permitted while handling SelectionChanged Event.