Sets visibility for a workset in this view.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public void SetWorksetVisibility(
WorksetId worksetId,
WorksetVisibility visible
)
Parameters
- worksetId WorksetId
-
Id of the workset.
- visible WorksetVisibility
-
The visibility of the workset.
Exceptions
Remarks
It works even when the workset is closed. This settings overrules implicit visibility of the workset (for this particular view only).
See Also
Reference