Click or drag to resize

MaterialTableDeleteAt Method

Removes a material at a specific position from this material table.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool DeleteAt(
	int materialIndex
)

Parameters

materialIndex
Type: SystemInt32
The position to be removed.

Return Value

Type: Boolean
true if successful. false if materialIndex is out of range or the material cannot be deleted because it is the current material or because it material contains active geometry.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also