Returns the workset from a input WorksetId.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2012
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- id
- Type: Autodesk.Revit.DBWorksetId
Id of a workset.
Return Value
The returned workset. a null reference (Nothing in Visual Basic) if there is no workset in this table with this Id.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |