GetWorkset Method (Guid)


Workset Table Get Workset(Guid) Method

Returns the workset from a input Guid.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Workset GetWorkset(
	Guid guid
)

Parameters

guid Guid
Guid of the workset.

Return Value

Workset
The returned workset. if there is no workset in this table with this Id.
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 →