CloneMaterial

Clones a local material.

UI Access N/A
Parameters
Name Type Description
<matName> String Name of existing material.
<newName> String Name for newly cloned material.
Return Value

Boolean:

  • 1 - Material is cloned.
  • 0 - Existing material not found or a conflict with the new material name.

Python Syntax

CloneMaterial (<matName>, <newName>)

Python Example

oDefinitionManager.CloneMaterial("copper1", "copper3")