ModelObject
Represents a Rhino model object. Wraps the functionality of the RhinoObject type.
Inheritance Hierarchy
System.Object
Grasshopper.Rhinoceros.ModelData
Grasshopper.Rhinoceros.ModelContent
Grasshopper.Rhinoceros.ModelComponentContent
Grasshopper.Rhinoceros.Model.ModelObject
Namespace: Grasshopper.Rhinoceros.Model
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelObject : ModelComponentContent, IGH_BakeAwareData, IGH_PreviewData, IGH_PreviewMeshData, IGH_RenderAwareData
The ModelObject type exposes the following members.
Constructors
Name
Description
Public Method
ModelObject.
Initializes a new instance of the ModelObject class
Public Method
ModelObject(ModelObject.Attributes)
Initializes a new instance of the ModelObject class
Public Method
ModelObject(Guid)
Initializes a new instance of the ModelObject class
Public Method
ModelObject(RhinoObject)
Initializes a new instance of the ModelObject class
Public Method
ModelObject(RhinoDoc, ObjectAttributes)
Initializes a new instance of the ModelObject class
Public Method
ModelObject(RhinoDoc, ObjectAttributes, GeometryBase)
Initializes a new instance of the ModelObject class
Properties
Name
Description
Public Property
Display
Public Property
Drafting
Public Property
Id
(Inherited from ModelContent.)
Public Property
IsValid
(Overrides
ModelContent.IsValid
.)Public Property
Layer
Public Property
Name
(Inherited from ModelContent.)
Public Property
Notes
(Inherited from ModelContent.)
Public Property
ObjectType
Public Property
Parent
(Inherited from ModelContent.)
Public Property
Path
(Inherited from ModelContent.)
Public Property
Render
Public Property
Tags
(Inherited from ModelContent.)
Public Property
TypeName
(Overrides ModelData.TypeName.)
Public Property
Url
Public Property
UserText
(Inherited from ModelComponentContent.)
Public Property
Visibility
Methods
Name
Description
Public Method
Static Member
Cast
Public Method
CastTo.T.(T.)
(Overrides
ModelContent.CastTo.T.(T.)
.)Public Method
CastTo.T.(T.)
(Inherited from ModelContent.)
Public Method
CastTo.T.(T.)
(Inherited from ModelData.)
Public Method
Equals(ModelContent)
(Inherited from ModelContent.)
Public Method
Equals(ModelData)
(Inherited from ModelData.)
Public Method
Equals(Object)
(Inherited from ModelContent.)
Public Method
GetBoundingBox
Public Method
GetHashCode
(Inherited from ModelContent.)
Public Method
ToAttributes
Public Method
ToDetails
(Inherited from ModelData.)
Public Method
TooltipString
(Overrides
ModelContent.TooltipString.
.)Public Method
ToString
(Overrides
ModelContent.ToString.
.)Operators
Name
Description
Public Operator
Static Member
.(ModelObject.Attributes to ModelObject)
Public Operator
Static Member
.(RhinoObject to ModelObject)