Click or drag to resize

MaterialTableFind Method (Guid, Boolean)

Finds a material with a matching id.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int Find(
	Guid materialId,
	bool ignoreDeletedMaterials
)

Parameters

materialId
Type: SystemGuid
A material ID to be found.
ignoreDeletedMaterials
Type: SystemBoolean
If true, deleted materials are not checked.

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.5
See Also