# ModelSpaceViewport class

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

```cs
[TypeName("Viewport")]
[TypeDescription("Model space viewport")]
public abstract class ModelSpaceViewport : ModelViewport
```

Represents a Rhino modeling viewport. Wraps a viewport that displays the model.

**Derived types:** [ModelDetailViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modeldetailviewport.md), [ModelStandardViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelstandardviewport.md)

## Constructors

- [ModelSpaceViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/ctor.md): (2 overloads)

## Properties

- [Attribs](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/attribs.md)
- [Space](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/space.md)

## Methods

- [Cast](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/cast.md): (static)
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/castto.md)
- [ToAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/toattributes.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelspaceviewport/op-implicit.md): (static)

## Inherited Members

- From [ModelViewport](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport.md): [ConstructionPlane](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/constructionplane.md), [DefaultAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/defaultattributes.md), [DisplayMode](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/displaymode.md), [UserText](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/usertext.md), [View](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/view.md), [ViewportType](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/viewporttype.md), [RenderItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.display.modelviewport/renderitem.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), [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalid.md), [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalidwhynot.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), [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)
