Texture Operators

bpy.ops.texture.envmap_clear()

Discard the environment map and free it from memory

bpy.ops.texture.envmap_clear_all()

Discard all environment maps in the .blend file and free them from memory

bpy.ops.texture.envmap_save(filepath="", check_existing=True, filter_blender=False, filter_image=True, filter_movie=True, filter_python=False, filter_font=False, filter_sound=False, filter_text=False, filter_btx=False, filter_collada=False, filter_folder=True, filemode=9, relative_path=False)

Save the current generated Environment map to an image file

Parameters:
  • filepath (string, (optional)) – File Path, Path to file
  • check_existing (boolean, (optional)) – Check Existing, Check and warn on overwriting existing files
  • filter_blender (boolean, (optional)) – Filter .blend files
  • filter_image (boolean, (optional)) – Filter image files
  • filter_movie (boolean, (optional)) – Filter movie files
  • filter_python (boolean, (optional)) – Filter python files
  • filter_font (boolean, (optional)) – Filter font files
  • filter_sound (boolean, (optional)) – Filter sound files
  • filter_text (boolean, (optional)) – Filter text files
  • filter_btx (boolean, (optional)) – Filter btx files
  • filter_collada (boolean, (optional)) – Filter COLLADA files
  • filter_folder (boolean, (optional)) – Filter folders
  • filemode (int in [1, 9], (optional)) – File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
  • relative_path (boolean, (optional)) – Relative Path, Select the file relative to the blend file
bpy.ops.texture.new()

Add a new texture

bpy.ops.texture.slot_copy()

Copy the material texture settings and nodes

bpy.ops.texture.slot_move(type='UP')

Move texture slots up and down

Parameters:
  • type (enum in [‘UP’, ‘DOWN’], (optional)) – Type
bpy.ops.texture.slot_paste()

Copy the texture settings and nodes

Previous topic

Text Operators

Next topic

Time Operators