As part of a toolbox I create I want to have a button that put textures together from a scene. The idea is to use external files pack then unpack.
import bpy bpy.ops.file.pack_all() bpy.ops.file.unpack_all(method='USE_LOCAL')
I want to choose the directory path. Is it possible? I guess having a path entry then a “save it all!” button would be great
maybe something like this but that won’ t work
for img in bpy.data.images: if img.users: bpy.data.images(img).filepath = '//mytextures/' bpy.data.images(img).save()