find_by_name#

classmethod MaterialDef.find_by_name(database, name)#

Find a material definition by name in a given database.

Parameters:
databaseDatabase

Database to search for the material definition.

namestr

Name of the material definition.

Returns:
MaterialDef

Naterial definition found.