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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →