# Effects enum

Namespace: [Grasshopper2.Undo](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.undo.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
[Flags]
public enum Effects
```

Enumerates the automatic actions to be taken after an [Action](https://developer.rhino3d.com/api/gh2/type/grasshopper2.undo.action.md) was either undone or redone.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | No additional response required. |
| ExpireLayout | 1 | The layout of the attributes of the associated object ought to be expired. This implies [Effects.InvalidateLayout](https://developer.rhino3d.com/api/gh2/type/grasshopper2.undo.effects.md). |
| ExpireSolution | 2 | The solution of the associated object ought to be expired. This implies [Effects.InvalidateSolution](https://developer.rhino3d.com/api/gh2/type/grasshopper2.undo.effects.md). |
| ExpireDisplay | 4 | The viewport display caches of the associated object ought to be expired. This implies [Effects.InvalidateDisplay](https://developer.rhino3d.com/api/gh2/type/grasshopper2.undo.effects.md). |
| InvalidateLayout | 8 | The canvas containing the document which owns the associated object ought to be invalidated. |
| InvalidateDisplay | 16 | The Rhino viewports ought to be invalidated. |
| InvalidateSolution | 32 | A new solution ought to be started once undo is complete. |
