ModelInstanceDefinition
Represents a Rhino block definition. Wraps the functionality of the InstanceDefinition type.
Inheritance Hierarchy
System.Object
Grasshopper.Rhinoceros.ModelData
Grasshopper.Rhinoceros.ModelContent
Grasshopper.Rhinoceros.ModelComponentContent
Grasshopper.Rhinoceros.Model.ModelInstanceDefinition
Namespace: Grasshopper.Rhinoceros.Model
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelInstanceDefinition : ModelComponentContent, IGH_BakeAwareData, IGH_PreviewData
The ModelInstanceDefinition type exposes the following members.
Constructors
Name
Description
Public Method
ModelInstanceDefinition.
Initializes a new instance of the ModelInstanceDefinition class
Public Method
ModelInstanceDefinition(ModelInstanceDefinition.Attributes)
Initializes a new instance of the ModelInstanceDefinition class
Public Method
ModelInstanceDefinition(Guid)
Initializes a new instance of the ModelInstanceDefinition class
Public Method
ModelInstanceDefinition(InstanceDefinition)
Initializes a new instance of the ModelInstanceDefinition class
Properties
Name
Description
Public Property
FilePath
Public Property
Id
(Inherited from ModelContent.)
Public Property
IsValid
(Overrides
ModelContent.IsValid
.)Public Property
Name
(Inherited from ModelContent.)
Public Property
Notes
(Inherited from ModelContent.)
Public Property
Objects
Public Property
Parent
(Inherited from ModelContent.)
Public Property
Path
(Inherited from ModelContent.)
Public Property
Tags
(Inherited from ModelContent.)
Public Property
Static Member
Unset
Public Property
UpdateType
Public Property
Url
Public Property
UrlDescription
Public Property
UserText
(Inherited from ModelComponentContent.)
Methods
Name
Description
Public Method
BakeGeometry
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
(Inherited from ModelContent.)
Public Method
ToString
(Inherited from ModelContent.)
Operators
Name
Description
Public Operator
Static Member
.(ModelInstanceDefinition.Attributes to ModelInstanceDefinition)
Public Operator
Static Member
.(InstanceDefinition to ModelInstanceDefinition)
Public Operator
Static Member
.(String to ModelInstanceDefinition)