Click or drag to resize
LayerTableModify Method
Modifies layer settings.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
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.
See Also