Click or drag to resize

MaterialTableModify Method

Modify material settings.

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


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

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also