# Grasshopper2.Doc.Migration namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Interfaces

- [IMigrateBase](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratebase.md): Members shared by every Grasshopper 1 migrator.
- [IMigrateComponent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratecomponent.md): Implement this interface in an otherwise empty class in order to provide migration functionality for a specific Grasshopper 1 component type.
- [IMigrateDocObject](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigratedocobject.md): Implement this interface in an otherwise empty class in order to provide migration functionality for a specific Grasshopper 1 object type which is neither a parameter nor a component.
- [IMigrateParameter](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigrateparameter.md): Implement this interface in an otherwise empty class in order to provide migration functionality for a specific Grasshopper 1 parameter type.
- [IMigrationTable](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.imigrationtable.md): Implement this interface to provide a whole collection of Grasshopper 1 migrators at once.

## Classes

- [Gh1MigrationRule](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.gh1migrationrule.md): A declarative mapping of one Grasshopper 1 component onto one Grasshopper 2 component.
- [MigrationAideComponent](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.migrationaidecomponent.md): Base class for hidden helper components which keep migrated Grasshopper 1 files working.
- [MigrationException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.migrationexception.md): Exception used for migration failure messaging.
- [MultiObjectWrapper](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.multiobjectwrapper.md): An object which can contain a collection of IDocumentObjects which together represent the full migration of a GH1 object. This object should never be added to a document as it is a meaningless object except within the context of migrating. Only construct this type when you wish to return more than one object from a migrator. implementation.

## Enums

- [MigrationLevel](https://developer.rhino3d.com/api/gh2/type/grasshopper2.doc.migration.migrationlevel.md): How thoroughly a Grasshopper 1 document is to be converted into a Grasshopper 2 one.
