AutoSaveReason

References
[Flags] public enum AutoSaveReason
Enumerates common reasons for autosaving.

Enum values

NameValueDescription
Unspecified0Unknown reason.
Force1Override flag indicating that the autosave must run regardless of the user's Settings.AutoSaveReasons filter. Combine with any other reason, or pass on its own. The per-process deduplication guard still applies, so callers wanting an unconditional save should pair this with a fresh Guid.
WireAdded2One of more wires were added.
WireRemoved4One of more wires were removed.
ObjectAdded8One or more objects have been added to the document.
ObjectRemoved16One or more objects have been removed from the document.
ObjectChanged32An object property or setting was changed. This includes persistent data and other state changes, but it excludes Enabled, Modifier and Expression changes as those have their own markers.
PinChanged64Pins were either attached or detached from an object.
ObjectEnabled128One or more disabled objects have been enabled.
ObjectDisabled256One or more enabled objects have been disabled.
ModifiersChanged512A textual expression or code snippet was changed.
ExpressionChanged2048A textual expression or code snippet was changed.
Common2602Collects the default autosave reasons.
ClusterCreated268435456One or more objects have been turned into a cluster.
ClusterDestroyed536870912A cluster has been exploded and its contents have been reinserted into the document.
ClusterChanged1073741824A cluster has been modified.