# SolutionMode enum

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

```cs
public enum SolutionMode
```

Enumerates the various modes a solution can run in.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Regular | 0 | Typical solution behaviour. |
| Headless | 1 | This solution is running in a headless Rhino, or otherwise not while the document is loaded in the canvas. |
| Validating | 2 | Perform validation checks. |
| ValidatingSafe | 3 | Perform validation checks and disable multi-threading wherever possible. |
