GH_DocumentAutoSave Method (GH_AutoSaveTrigger, Guid)
Creates a new autosave file on the disk. The previous autosave file (assuming it exists)
will be temporarily renamed and eventually deleted entirely.
Note: AutoSave is only possible on Documents that have TopLevel Rank and a valid FilePath.
Grasshopper (in Grasshopper.dll)
public bool AutoSave(
Public Function AutoSave (
trigger As GH_AutoSaveTrigger,
id As Guid
) As Boolean
- Type: Grasshopper.KernelGH_AutoSaveTrigger
Reason for autosave. User can choose to ignore certain autosave reasons.
- Type: SystemGuid
Guid of autosave operation, consecutive calls to autosave with the same Guid will be ignored.