DeleteWorksetOption Enumeration


This class defines an enumerative type used to specify the option to delete a workset.
This enumerative type corresponds to the possible options to delete a workset.

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

Syntax

C#
public enum DeleteWorksetOption
Visual Basic
Public Enumeration DeleteWorksetOption
Visual C++
public enum class DeleteWorksetOption

Members

Member name Description
MoveElementsToWorkset Delete a workset, while moving the elements from the deleted workset to another workset.
DeleteAllElements Delete a workset together with all the elements in this workset.

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 →