Click or drag to resize

LayerTableModify Method (Layer, Int32, Boolean)

Modifies layer settings.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Modify(
	Layer newSettings,
	int layerIndex,
	bool quiet
)

Parameters

newSettings
Type: Rhino.DocObjectsLayer
This information is copied.
layerIndex
Type: SystemInt32
zero based index of layer to set. This must be in the range 0 <= layerIndex < LayerTable.Count.
quiet
Type: SystemBoolean
if true, information message boxes pop up when illegal changes are attempted.

Return Value

Type: Boolean
true if successful. false if layerIndex is out of range or the settings attempt to lock or hide the current layer.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also