GetWorksetTable Method


Document Get Workset Table Method

Get the WorksetTable of this document.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public WorksetTable GetWorksetTable()

Return Value

WorksetTable
The WorksetTable of this document.
Remarks
There is one WorksetTable for each document. There will be at least one workset in the table, even if sharing has not yet been enabled for this document.
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 →