STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
258
IN-GAME
1,645
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Momo 4 Nov, 2019 @ 6:43am
Support for multiple nested sub folders?
Is there a way to export files from a .blend with a complicated collection structure with a sub folder for every collection level? The add-on allows for a custom sub folder to be defined per object, but there's no way to bulk-assign it.
Last edited by Momo; 4 Nov, 2019 @ 6:44am
< >
Showing 1-3 of 3 comments
xdshot 4 Nov, 2019 @ 7:04am 
Assignexport dir for each collection and object via python
Momo 4 Nov, 2019 @ 7:21am 
I was hoping there would be an easier way.
Momo 4 Nov, 2019 @ 7:36am 
Alright, I prepared a simple script that does what I want.
import bpy for obj in bpy.context.scene.collection.all_objects: obj.vs.subdir = '' for collection in bpy.data.collections: for obj in collection.all_objects: obj.vs.subdir += collection.name obj.vs.subdir += '/'
< >
Showing 1-3 of 3 comments
Per page: 1530 50

All Discussions > Help > Topic Details
Date Posted: 4 Nov, 2019 @ 6:43am
Posts: 3