WorksetConfigurationOption Enumeration


Workset Configuration Option Enumeration

A collection of options used to initialize a WorksetConfiguration.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public enum WorksetConfigurationOption
Members
Member name Value Description
CloseAllWorksets 1 Close all user-created worksets by default. Additional close requests will be ignored for this type of configuration.
OpenAllWorksets 0 Open all user-created worksets by default. Additional open requests will be ignored for this type of configuration.
OpenLastViewed 2 Close all user-created worksets by default, but open last viewed worksets.
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 →