SetSelectedElementIds Method


Sets the element ids of the elements to export. Used only when ExportScope = SelectedElements.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2014

Syntax

C#
public void SetSelectedElementIds(
	ICollection<ElementId> ids
)
Visual Basic
Public Sub SetSelectedElementIds ( _
	ids As ICollection(Of ElementId) _
)
Visual C++
public:
void SetSelectedElementIds(
	ICollection<ElementId^>^ ids
)

Parameters

ids
Type: System.Collections.Generic ICollection ElementId

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also