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(remove_active=False, name="")

Add a Subsurface Scattering Preset

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

startup/bl_operators/presets.py:54

Previous topic

Mask Operators

Next topic

Mball Operators