Click or drag to resize

MaterialTableFind Method (String, Boolean)

Finds a meterial with a given name.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int Find(
	string materialName,
	bool ignoreDeletedMaterials


Type: SystemString
Name of the material to search for. The search ignores case.
Type: SystemBoolean
true means don't search deleted materials.

Return Value

Type: Int32
>=0 index of the material with the given name -1 no material has the given name.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also