Material Operators

bpy.ops.material.copy()

Copy the material settings and nodes

bpy.ops.material.new()

Add a new material

bpy.ops.material.paste()

Paste the material settings and nodes

bpy.ops.material.sss_preset_add(name="", remove_active=False)

Add or remove a Subsurface Scattering Preset

Parameters:
  • name (string, (optional, never None)) – Name, Name of the preset, used to make the path name
  • remove_active (boolean, (optional)) – remove_active
File:

startup/bl_operators/presets.py:71