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 a Subsurface Scattering Preset

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

op/presets.py:43

Previous topic

Marker Operators

Next topic

Mball Operators