Click or drag to resize

LayerTableModify Method (Layer, Int32, Boolean)

Modifies layer settings.

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


Type: Rhino.DocObjectsLayer
This information is copied.
Type: SystemInt32
zero based index of layer to set. This must be in the range 0 <= layerIndex < LayerTable.Count.
Type: SystemBoolean
if false, 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.20
See Also