Layer.GetDefaultLayerProperties Method

LayerGetDefaultLayerProperties Method

Constructs a layer with the current default properties. The default layer properties are:

color = Rhino.ApplicationSettings.AppearanceSettings.DefaultLayerColor

line style = Rhino.ApplicationSettings.AppearanceSettings.DefaultLayerLineStyle

material index = -1

iges level = -1

mode = NormalLayer

name = empty

layer index = 0 (ignored by AddLayer)

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Layer GetDefaultLayerProperties()
Public Shared Function GetDefaultLayerProperties As Layer

Return Value

Type: Layer
A new layer instance.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also