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

View.IsWorksetVisible

Method
Description:
Indicates whether the workset is visible in this view.
Remarks:
It will take into account whether the workset is opened or closed.
Syntax
public bool IsWorksetVisible(
	WorksetId worksetId
)
Parameters
Parameter Type Description
worksetId WorksetId Id of the workset.
Return Value
Type Description
Boolean Whether the workset is visible.
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