RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View

View.GetWorksetVisibility

Method
Description:
Returns the visibility settings of a workset for this particular view.
Remarks:
The settings does not reflect the fact of whether a workset is currently closed or not.
Syntax
Parameters
Parameter Type Description
worksetId WorksetId Id of the workset.
Return Value
Type Description
WorksetVisibility The visibility of a workset for this particular view.
Exceptions
Exception Condition
ArgumentException There is no workset with this Id in the document associated with this view.
ArgumentNullException A non-optional argument was null