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 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 →