Sets the active workset.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2015 Subscription Update
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- worksetId
- Type: Autodesk.Revit.DB WorksetId
The workset Id.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | There is no workset in the document with this id. |
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |