Selection.GetElementIds
Method
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.
Returns the ids of the elements that are currently selected within the project. The selection may not be complete. See GetReferences for more options.