GetWorksetTable Method


Get the WorksetTable of this document.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public WorksetTable GetWorksetTable()
Visual Basic
Public Function GetWorksetTable As WorksetTable
Visual C++
public:
WorksetTable^ GetWorksetTable()

Return Value

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 →