GH_DocumentObject.TriggerAutoSave Method (GH_AutoSaveTrigger, Guid) |
Triggers the AutoSave function on the owner document with a custom flag.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntaxpublic void TriggerAutoSave(
GH_AutoSaveTrigger trigger,
Guid id
)
Public Sub TriggerAutoSave (
trigger As GH_AutoSaveTrigger,
id As Guid
)
Parameters
- trigger
- Type: Grasshopper.Kernel.GH_AutoSaveTrigger
Reason for the autosave operation. It is possible that a user has decided
to avoid autosave events for specific types, so if you can, try and provide a correct trigger flag. - id
- Type: System.Guid
ID of autosave event. Consecutive autosave requests with the same ID will be ignored.
Implements
IGH_DocumentObject.TriggerAutoSave(GH_AutoSaveTrigger, Guid)
See Also