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)
Since: 5.0
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.
See Also