SynchronizeWithCentralOptions
Description:
Options to control behavior of synchronization with central.
Options to control behavior of synchronization with central.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.SynchronizeWithCentralOptions
System.Object
Autodesk.Revit.DB.SynchronizeWithCentralOptions
public class SynchronizeWithCentralOptions : IDisposable
| Name | Return Type | Description |
|---|---|---|
| SynchronizeWithCentralOptions() | None | Constructs a new instance of SynchronizeWithCentralOptions initialized with default options. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| GetRelinquishOptions() | nullNothingnullptr | Gets the options which govern whether or not to relinquish elements and workset types. |
| SetRelinquishOptions(RelinquishOptions) | None | Sets the options which govern whether or not to relinquish elements and workset types. |
| Name | Return Type | Description |
|---|---|---|
| Comment | string | User description of changes made since the last Sync with Central. Empty by default. |
| Compact | bool | 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. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| RelinquishBorrowedElements | bool | Indicates whether Revit should relinquish borrowed elements after synchronizing with central. |
| RelinquishFamilyWorksets | bool | Indicates whether Revit should relinquish Family worksets after synchronizing with central. |
| RelinquishProjectStandardWorksets | bool | Indicates whether Revit should relinquish Project Standard worksets after synchronizing with central. |
| RelinquishUserCreatedWorksets | bool | Indicates whether Revit should relinquish user-created Standard worksets after synchronizing with central. |
| RelinquishViewWorksets | bool | Indicates whether Revit should relinquish View worksets after synchronizing with central. |
| SaveLocalAfter | bool | 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. |
| SaveLocalBefore | bool | 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. |
| SaveLocalFile | bool | Indicates whether Revit will save the local file at least once while synchronizing with central. |