Get Id of the Workset which owns the element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public WorksetId GetWorksetId(
ElementId id
)
Parameters
- id ElementId
-
Id of the element.
Return Value
WorksetId
Id of the Workset which owns the element.
Exceptions
Remarks
Each element belongs to one and only one workset.
See Also
Reference