[TypeName("Viewport")] [TypeDescription("Viewport")] public class ModelViewport : ModelContent, IGH_BakeAwareData, IGH_Goo
Represents a Rhino viewport. Wraps the main viewport of a RhinoView instance.

Constructors

ModelViewport

#
protected internal ModelViewport()

ModelViewport

#
protected internal ModelViewport(
Attributes
attributes,
id
)

ModelViewport

#
protected internal ModelViewport(
Attributes
attributes
)

Fields

Serial

protected internal int Serial
inherited fromModelData

Properties

Attribs

#
protected ModelViewport.Attributes Attribs { get; set; }

ConstructionPlane

#
[Browsable(false)] public ModelConstructionPlane ConstructionPlane { get; }

DefaultAttributes

#
protected override ModelData.Attributes DefaultAttributes { get; }

DisplayMode

#
public ModelDisplayMode DisplayMode { get; }

DisplayName

[Browsable(false)] public string DisplayName { get; }
inherited fromModelData
DisplayName

Id

public Guid? Id { get; }
inherited fromModelContent

IsReferencedData

protected bool IsReferencedData { get; }
inherited fromModelContent
IsReferencedData

IsReferencedDataLoaded

protected bool IsReferencedDataLoaded { get; }
inherited fromModelContent

IsValid

public override bool IsValid { get; }
inherited fromModelContent

IsValidWhyNot

protected override string IsValidWhyNot { get; }
inherited fromModelContent

Name

public virtual ModelContentName Name { get; }
inherited fromModelContent

Notes

public string Notes { get; }
inherited fromModelContent

Parent

public ModelContentName Parent { get; }
inherited fromModelContent

Space

#
public virtual ActiveSpace Space { get; }

Tags

public ModelTags Tags { get; }
inherited fromModelContent

TypeDescription

protected string TypeDescription { get; }
inherited fromModelData
TypeDescription

TypeName

[Browsable(false)] public virtual string TypeName { get; }
inherited fromModelData
TypeName

Unset

#
public static ModelViewport Unset { get; }

UserText

#
[Browsable(false)] [Description("Viewport User Text")] public ModelUserText UserText { get; }

View

#
[Browsable(false)] public ModelView View { get; }

ViewportType

#
public virtual ViewportType ViewportType { get; }

Methods

AsFrozen

Try to obtain a dereferenced snapshot of itself.
public ModelContent AsFrozen(
deep = true
Determines whether or not referenced content should also be frozen.
)
inherited fromModelContent
Itself if it is already dereferenced.
Explicit

IGH_BakeAwareData.BakeGeometry

#
bool BakeGeometry(
doc,
att,
ref Guid
obj_guid
)
BakeGeometry

Cast

#
public static ModelViewport Cast(
data
)

CastTo<T>

#
public override bool CastTo<T>(
ref T
target
)

Equals

public bool Equals()
inherited fromModelContent

Equals

public bool Equals(
other
)
inherited fromModelData

Equals

public override bool Equals(
other
)
inherited fromModelContent
ModelData.Equals

GetHashCode

public override int GetHashCode()
inherited fromModelContent

InternaliseData

protected bool InternaliseData()
inherited fromModelContent

LoadReferencedData

protected virtual bool LoadReferencedData()
inherited fromModelContent
LoadReferencedData

Read

protected override bool Read(
reader
)
inherited fromModelContent
ModelData.Read
Read

RenderItem

#
protected override bool RenderItem(
graphics,
area,
alpha
)

RuntimeId

protected internal Guid? RuntimeId(
document
)
inherited fromModelContent

ToAttributes

#
public ModelViewport.Attributes ToAttributes()

ToDetails

public string ToDetails()
inherited fromModelData

TooltipString

public override string TooltipString()
inherited fromModelContent

ToString

public override string ToString()
inherited fromModelContent

UnloadReferencedData

protected virtual void UnloadReferencedData()
inherited fromModelContent

Write

protected override bool Write(
writer
)
inherited fromModelContent
ModelData.Write
Write

Convertors

OperationResultDescription
implicitModelViewport.AttributesModelViewport
implicitRhinoViewportModelViewport