Skip to content

SynchronizeWithCentralOptions

Public Class

Options to control behavior of synchronization with central.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.SynchronizeWithCentralOptions

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class SynchronizeWithCentralOptions : IDisposable

The SynchronizeWithCentralOptions type exposes the following members.

Constructors

Name

Description


Public Method
SynchronizeWithCentralOptions

Constructs a new instance of SynchronizeWithCentralOptions initialized with default options.


Properties

Name

Description


Public Property

User description of changes made since the last Sync with Central. Empty by default.


Public Property

Indicates whether Revit should compact the central model while synchronizing with central. This option reduces the size of the central model but many increase the time it takes to perform the save. False by default.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property
RelinquishBorrowedElements

Indicates whether Revit should relinquish borrowed elements after synchronizing with central.


Public Property
RelinquishFamilyWorksets

Indicates whether Revit should relinquish Family worksets after synchronizing with central.


Public Property
RelinquishProjectStandardWorksets

Indicates whether Revit should relinquish Project Standard worksets after synchronizing with central.


Public Property
RelinquishUserCreatedWorksets

Indicates whether Revit should relinquish user-created Standard worksets after synchronizing with central.


Public Property
RelinquishViewWorksets

Indicates whether Revit should relinquish View worksets after synchronizing with central.


Public Property
SaveLocalAfter

True means to save local after saving changes to central. True by default. Silently ignored if the model in the current session is central rather than local.


Public Property

True means to save local before the first reload latest if there are changes not yet saved to local. True by default. Silently ignored if the model in the current session is central rather than local.


Public Property

Indicates whether Revit will save the local file at least once while synchronizing with central.


Methods

Name

Description


Public Method

Releases all resources used by the SynchronizeWithCentralOptions


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

Gets the options which govern whether or not to relinquish elements and workset types.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Sets the options which govern whether or not to relinquish elements and workset types.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)