IsWorksetVisible Method


Workset Default Visibility Settings Is Workset Visible Method

Indicates whether the workset is visible by default.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public bool IsWorksetVisible(
	WorksetId worksetId
)

Parameters

worksetId WorksetId
Id of the workset.

Return Value

Boolean
Whether 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.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →