Represents a Rhino model detail view. Wraps the functionality of the DetailView type.

Constructors

GH_DetailView

#
Default constructor, creates an invalid detail view.
public GH_DetailView()

GH_DetailView

#
Create a duplicate of an existing detail view.
public GH_DetailView(
detailView
DetailView to duplicate
)

GH_DetailView

#
Create a duplicate of another GH_DetailView. This constructor also copies reference data.
public GH_DetailView(
GH_DetailView
other
Detail View to duplicate
)

GH_DetailView

#
Create a new referenced detail view that references a Rhino detail view with the specified ID.
public GH_DetailView(
ref_guid
ID of detail view object to reference.
)

Fields

m_value

protected T m_value
inherited fromGH_Goo<T>

Properties

BoundingBox

#
public override BoundingBox BoundingBox { get; }

ClippingBox

#
public BoundingBox ClippingBox { get; }
ClippingBox

IsGeometryLoaded

#
Gets the load state of this detail view object. The detail view is considered to be loaded when the local detail view instance is not null.
public override bool IsGeometryLoaded { get; }

IsReferencedGeometry

Gets a value indicating whether or not this geometry is referenced. Not all IGH_GeometricGoo implementations support referenced geometry.
public virtual bool IsReferencedGeometry { get; }
inherited fromGH_GeometricGoo<T>

IsValid

#
Gets the validity of this detail view. If the detail view is referenced but cannot be loaded, the detail view is not valid.
public override bool IsValid { get; }

IsValidWhyNot

#
Gets a string describing the state of "invalidness". If the instance is valid, then this property should return Nothing or String.Empty.
public override string IsValidWhyNot { get; }

ReferenceID

#
public override Guid ReferenceID { get; set; }

TypeDescription

#
public override string TypeDescription { get; }

TypeName

#
public override string TypeName { get; }

Value

#
public override DetailView Value { get; set; }

Viewport

#
public ModelDetailViewport Viewport { get; set; }

Methods

CastFrom

Attempt a cast from generic object.
public override bool CastFrom(
source
Reference to source of cast.
)
inherited fromGH_GeometricGoo<T>
Remarks: If False, the contents of this instance are not to be trusted.
True on success, false on failure.

CastTo<Q>

Attempt a cast to type Q.
public virtual bool CastTo<Q>(
ref Q
target
Pointer to target of cast.
)
inherited fromGH_Goo<T>
Remarks: If false, the target instance contents are not guaranteed to be valid.
True on success, false on failure.
CastTo

CastTo<T>

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

ClearCaches

#
Clears all volatile caches for this instance. The boundingbox is cleared, and if the detail view is referenced, the local instance of the detail view is erased.
public override void ClearCaches()

DrawViewportMeshes

#
public void DrawViewportMeshes()
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires()
DrawViewportWires

Duplicate

#
public override IGH_Goo Duplicate()

DuplicateDetailView

#
Create a duplicate of this hatch.
public GH_DetailView DuplicateDetailView()

DuplicateGeometry

#
Create a duplicate of this hatch.
public override IGH_GeometricGoo DuplicateGeometry()

EmitProxy

Create a new proxy for this instance. Return Null if this class does not support proxies.
public override IGH_GooProxy EmitProxy()
inherited fromGH_GeometricGoo<T>

GetBoundingBox

#
public override BoundingBox GetBoundingBox(
xform
)

LoadGeometry

#
If the geometry is referenced and not yet loaded, attempts to load the geometry.
public override bool LoadGeometry()
True if the geometry is loaded (or if it was already loaded), False on failure.

LoadGeometry

#
If the detail view is referenced and not yet loaded, attempts to load the detail view.
public override bool LoadGeometry()
True if the detail view is loaded (or if it was already loaded), False on failure.

Morph

#
public override IGH_GeometricGoo Morph(
xmorph
)

Read

#
public override bool Read(
reader
)
GH_Goo<T>.Read

ScriptVariable

#
public override object ScriptVariable()

ToString

#
Format the detail view using default grasshopper formatting logic.
public override string ToString()

Transform

#
public override IGH_GeometricGoo Transform(
Transform
xform
)

Write

#
public override bool Write(
writer
)
GH_Goo<T>.Write