ModelLayer
Represents a Rhino model layer. Wraps the functionality of the Layer type.
Inheritance Hierarchy
System.Object
Grasshopper.Rhinoceros.ModelData
Grasshopper.Rhinoceros.ModelContent
Grasshopper.Rhinoceros.ModelComponentContent
Grasshopper.Rhinoceros.Model.ModelLayer
Namespace: Grasshopper.Rhinoceros.Model
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public sealed class ModelLayer : ModelComponentContent, IGH_BakeAwareData
The ModelLayer type exposes the following members.
Constructors
Name
Description
Public Method
ModelLayer.
Initializes a new instance of the ModelLayer class
Public Method
ModelLayer(ModelLayer.Attributes)
Initializes a new instance of the ModelLayer class
Public Method
ModelLayer(Guid)
Initializes a new instance of the ModelLayer class
Public Method
ModelLayer(Layer)
Initializes a new instance of the ModelLayer class
Properties
Name
Description
Public Property
DisplayColor
Public Property
DraftingColor
Public Property
Hidden
Public Property
HiddenOnModel
Public Property
HiddenOnNewDetail
Public Property
Id
(Inherited from ModelContent.)
Public Property
IsValid
(Inherited from ModelContent.)
Public Property
Linetype
Public Property
LineWeight
Public Property
Locked
Public Property
Material
Public Property
Name
(Inherited from ModelContent.)
Public Property
Notes
(Inherited from ModelContent.)
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
UserText
(Inherited from ModelComponentContent.)
Methods
Name
Description
Public Method
Static Member
Cast
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
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
.(ModelLayer.Attributes to ModelLayer)
Public Operator
Static Member
.(Layer to ModelLayer)
Public Operator
Static Member
.(String to ModelLayer)