# GH_Conversion enum

Namespace: [Grasshopper.Kernel](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public enum GH_Conversion
```

Level flag for conversion algorithms.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Primary | 0 | Primary conversions only entail direct casts from identical or similar data types. |
| Secondary | 1 | Secondary conversions entail all implied conversions with the exception of direct casts. |
| Both | 2 | Indicates both Primary and Secondary |
