Open Method


Workset Configuration Open Method

Sets a group of user-created worksets to open.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void Open(
	IList<WorksetId> worksetsToOpen
)

Parameters

worksetsToOpen IList WorksetId
The group of user-created worksets to open. Non-user-created worksets and invalid workset ids will be ignored.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
Remarks
Calling this method on a configuration created with options other than WorksetConfigurationOption.OpenAllWorksets will set these worksets to be explicitly opened. If all worksets are set to open, the configuration will be unchanged. Worksets other than the inputs are unaffected.
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 →