Set the element selection to change the service or size for.
Namespace: Autodesk.Revit.DB.FabricationAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2018.2
Syntax
| C# |
|---|
public FabricationNetworkChangeServiceResult SetSelection( ISet<ElementId> selection ) |
| Visual Basic |
|---|
Public Function SetSelection ( _ selection As ISet(Of ElementId) _ ) As FabricationNetworkChangeServiceResult |
| Visual C++ |
|---|
public: FabricationNetworkChangeServiceResult SetSelection( ISet<ElementId^>^ selection ) |
Parameters
- selection
- Type: System.Collections.Generic..::..ISet<(Of <(<'ElementId>)>)>
The set of element identifiers of fabrication parts to change the service or size for.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |