# IGH_PreviewMeshData interface

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 interface IGH_PreviewMeshData
```

Implement this interface if your data deals with preview meshes.

**Derived types:** [GH_Brep](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-brep.md), [GH_Extrusion](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-extrusion.md), [GH_InstanceReference](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-instancereference.md), [GH_SubD](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-subd.md), [GH_Surface](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.types.gh-surface.md), [ModelInstanceDefinition](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition.md), [ModelObject](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelobject.md), [ModelTextureMapping](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modeltexturemapping.md)

## Methods

- [DestroyPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-previewmeshdata/destroypreviewmeshes.md): Erase all cached preview meshes.
- [GetPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.igh-previewmeshdata/getpreviewmeshes.md): Gets all the preview meshes associated with this data.
