Indicates whether the workset is visible by default. 
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
- worksetId
- Type: Autodesk.Revit.DBWorksetId
 Id of the workset.
Return Value
Whether the workset is visible by default.Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | There is no workset with this Id in the document. | 
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null | 
| Autodesk.Revit.ExceptionsInvalidOperationException | WorksetDefaultVisibilitySettings is not applicable to family documents. |