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

Constructors

GH_DetailView

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

GH_DetailView

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

GH_DetailView

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

GH_DetailView

#
public GH_DetailView(Guid ref_guid)
Create a new referenced detail view that references a Rhino detail view with the specified ID.
ref_guid (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

#
public override bool IsGeometryLoaded { get; }
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.

IsReferencedGeometry

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

IsValid

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

IsValidWhyNot

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

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

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

CastTo<Q>

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

CastTo<T>

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

ClearCaches

#
public override void 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.

DrawViewportMeshes

#
public void DrawViewportMeshes(GH_PreviewMeshArgs args)
args (GH_PreviewMeshArgs)
DrawViewportMeshes

DrawViewportWires

#
public void DrawViewportWires(GH_PreviewWireArgs args)
args (GH_PreviewWireArgs)
DrawViewportWires

Duplicate

#
public override IGH_Goo Duplicate()

DuplicateDetailView

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

DuplicateGeometry

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

EmitProxy

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

GetBoundingBox

#
public override BoundingBox GetBoundingBox(Transform xform)
xform (Transform)

LoadGeometry

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

LoadGeometry

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

Morph

#
public override IGH_GeometricGoo Morph(SpaceMorph xmorph)
xmorph (SpaceMorph)

Read

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

ScriptVariable

#
public override object ScriptVariable()

ToString

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

Transform

#
public override IGH_GeometricGoo Transform(Transform xform)
xform (Transform)

Write

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