# IGH_Document class

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

```cs
public sealed class IGH_Document
```

A wrapper around an instance of GH_Document class as defined in Grasshopper 1.

## Constructors

- [IGH_Document](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/ctor.md): Create a new document wrapper.

## Properties

- [FilePath](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/filepath.md): Gets the file path associated with the document.
- [ObjectCount](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/objectcount.md): Gets the number of top-level objects in the document.
- [Objects](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/objects.md): Iterate over all top-level objects in the document.
- [Underlying](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/underlying.md): Gets the instance of the Grasshopper 1.0 document.
- [Wires](https://developer.rhino3d.com/api/gh2/type/grasshopper2.interop.igh-document/wires.md): Iterate over all wires in the document.
