# MigrationLevel enum

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

```cs
public enum MigrationLevel
```

How thoroughly a Grasshopper 1 document is to be converted into a Grasshopper 2 one.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Interop | 0 | Host every Grasshopper 1 component in a [GH1InteropComponent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.components.standard.gh1interopcomponent.md). |
| Direct | 1 | Convert a component only where one Grasshopper 2 component stands in for it. |
| Total | 2 | Convert using every available migrator, including multi-object ones, followed by a cleanup pass that removes unneeded migration objects. |
