DoesMaterialExist

Checks for the presence of a material in the library by name

UI Access None.
Parameters
Name Type Description

<MaterialName>

<String>

Name of the material to search for in the material database

Return Value

Boolean:

  • True – specified material exists.
  • False – specified material does not exist.

 

Python Syntax

DoesMaterialExist(<MaterialName>)

Python Example

oDefinitionManager.DoesMaterialExist("modified_epoxy")