# ModelInstanceDefinition class

Namespace: [Grasshopper.Rhinoceros.Model](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.rhinoceros.model.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[TypeName("Model Block Definition")]
[TypeDescription("Rhino model block definition")]
public sealed class ModelInstanceDefinition : ModelComponentContent, IGH_BakeAwareData, IGH_PreviewData, IGH_PreviewMeshData
```

Represents a Rhino block definition. Wraps the functionality of the [InstanceDefinition](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.docobjects.instancedefinition/) type.

## Constructors

- [ModelInstanceDefinition](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/ctor.md): (4 overloads)

## Properties

- [Attribs](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/attribs.md)
- [BoundingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/boundingbox.md)
- [IGH_PreviewData.ClippingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/clippingbox.md)
- [DefaultAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/defaultattributes.md)
- [FilePath](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/filepath.md)
- [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/isvalid.md)
- [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/isvalidwhynot.md)
- [Objects](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/objects.md)
- [Unset](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/unset.md): (static)
- [UpdateType](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/updatetype.md)
- [Url](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/url.md)
- [UrlDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/urldescription.md)

## Methods

- [BakeGeometry](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/bakegeometry.md)
- [Cast](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/cast.md): (static)
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/castto.md)
- [IGH_PreviewMeshData.DestroyPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/destroypreviewmeshes.md)
- [IGH_PreviewData.DrawViewportMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/drawviewportmeshes.md)
- [IGH_PreviewData.DrawViewportWires](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/drawviewportwires.md)
- [GetBoundingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/getboundingbox.md)
- [IGH_PreviewMeshData.GetPreviewMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/getpreviewmeshes.md)
- [ToAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/toattributes.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.model.modelinstancedefinition/op-implicit.md): (3 overloads, static)

## Inherited Members

- From [ModelComponentContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent.md): [UserText](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcomponentcontent/usertext.md)
- From [ModelContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent.md): [Id](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/id.md), [IsReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddata.md), [IsReferencedDataLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddataloaded.md), [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/name.md), [Notes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/notes.md), [Parent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/parent.md), [Path](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/path.md), [Tags](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tags.md), [AsFrozen](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/asfrozen.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/equals.md), [GetHashCode](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/gethashcode.md), [InternaliseData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/internalisedata.md), [LoadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/loadreferenceddata.md), [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/read.md), [RenderItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/renderitem.md), [RuntimeId](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/runtimeid.md), [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tostring.md), [TooltipString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tooltipstring.md), [UnloadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/unloadreferenceddata.md), [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/write.md)
- From [ModelData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata.md): [Serial](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/serial.md), [DisplayName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/displayname.md), [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typedescription.md), [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typename.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/equals.md), [ToDetails](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/todetails.md)
