Click or drag to resize

GH_DocumentObjectTriggerAutoSave Method (GH_AutoSaveTrigger, Guid)

Triggers the AutoSave function on the owner document with a custom flag.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public void TriggerAutoSave(
	GH_AutoSaveTrigger trigger,
	Guid id
)

Parameters

trigger
Type: Grasshopper.KernelGH_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: SystemGuid
ID of autosave event. Consecutive autosave requests with the same ID will be ignored.

Implements

IGH_DocumentObjectTriggerAutoSave(GH_AutoSaveTrigger, Guid)
See Also