remove

dnois.mt.remove(name: str, ignore_if_absent: bool = False)

Remove a material from material library.

Parameters:
  • name (str) – Name of the material.

  • ignore_if_absent (bool) – If true, ignore material if it does not exist. A KeyError will be raised otherwise.

Returns:

None