Click or drag to resize

IGH_DocumentObjectExpireSolution Method

Call this function whenever you do something which expires the current solution. This will make sure all caches are erased, all downstream objects are expired and that the event is raised. The default implementation merely places a call to OnSolutionExpired(), override this function in derived classes to make sure you clear local data caches and expire downstream objects.

Namespace:  Grasshopper.Kernel
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
void ExpireSolution(
	bool recompute
)

Parameters

recompute
Type: SystemBoolean
If True, the solution will be recomputed straight away.
See Also