# BakeDataState enum

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

```cs
[Flags]
public enum BakeDataState
```

Enumerates the possible states of bake data stored on objects.

## Values

| Name | Value | Description |
| --- | --- | --- |
| None | 0 | No bake data is present. |
| Invalid | 1 | Bake data is invalid. Grasshopper should never itself assign invalid data. |
| Valid | 2 | Bake data is present and relevant. |
| Expired | 4 | Bake data is present but no longer relevant. |
| Divorced | 8 | Bake data is present but was originally assigned to a different object. |
