MaterialTableFind Method (String, Boolean) |
Finds a meterial with a given name.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic int Find(
string materialName,
bool ignoreDeletedMaterials
)
Public Function Find (
materialName As String,
ignoreDeletedMaterials As Boolean
) As Integer
Parameters
- materialName
- Type: SystemString
Name of the material to search for. The search ignores case. - ignoreDeletedMaterials
- 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 InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also