Indicates whether the workset is visible by default.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool IsWorksetVisible( WorksetId worksetId )
Parameters
- worksetId WorksetId
- Id of the workset.
Return Value
BooleanWhether the workset is visible by default.
Exceptions
Exception | Condition |
---|---|
ArgumentException | There is no workset with this Id in the document. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | WorksetDefaultVisibilitySettings is not applicable to family documents. |