WorksetId Property
Get Id of the workset which owns the element.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:  2011

Syntax

C#
public WorksetId WorksetId { get; }
Visual Basic
Public ReadOnly Property WorksetId As WorksetId
	Get
Visual C++
public:
property WorksetId^ WorksetId {
	WorksetId^ get ();
}

Remarks

Each element belongs to one and only one workset.

See Also