Click or drag to resize

WorksessionFileLayerValues Class

Layer settings saved in a Rhino worksession (.rws) file.
Inheritance Hierarchy
SystemObject
  Rhino.FileIOWorksessionFileLayerValues

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public sealed class WorksessionFileLayerValues : IDisposable

The WorksessionFileLayerValues type exposes the following members.

Constructors
  NameDescription
Public methodWorksessionFileLayerValues
Creates layer settings with the defaults: visible, unlocked and black.
Public methodWorksessionFileLayerValues(WorksessionFileLayerValues)
Creates a copy of other layer settings.
Top
Properties
  NameDescription
Public propertyColor
Gets or sets the layer color.
Public propertyLocked
Gets or sets whether the layer is locked.
Public propertyVisible
Gets or sets whether the layer is visible.
Top
Methods
  NameDescription
Public methodDispose
Releases the native layer settings.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases the native layer settings.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLayer
Gets a copy of the rest of the layer's settings, saved by Rhino 9 and later. Reading an older file leaves this set to a default layer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetLayer
Replaces the layer settings with a copy of layer.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also