MaterialTableFind Method (Guid, Boolean) |
Finds a material with a matching id.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public int Find(
Guid materialId,
bool ignoreDeletedMaterials
)
Public Function Find (
materialId As Guid,
ignoreDeletedMaterials As Boolean
) As Integer
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.
See Also