DetachFromCentralOption Enumeration


Detach From Central Option Enumeration

Options for workset detachment behavior.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public enum DetachFromCentralOption
Members
Member name Value Description
DoNotDetach 0 Do not detach the file being opened from its central file.
DetachAndPreserveWorksets 1 Detach the file being opened from its central file.
DetachAndDiscardWorksets 2 Detach the model being opened from its central model and discard worksets/worksharing.
ClearTransmittedSaveAsNewCentral 3 After opening the transmitted, workshared model, immediately resave it with its current name and clear the transmitted flag.
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 →