STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
342
游戏中
2,135
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Momo 2019 年 11 月 4 日 上午 6:43
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.
最后由 Momo 编辑于; 2019 年 11 月 4 日 上午 6:44
< >
正在显示第 1 - 3 条,共 3 条留言
xdshot 2019 年 11 月 4 日 上午 7:04 
Assignexport dir for each collection and object via python
Momo 2019 年 11 月 4 日 上午 7:21 
I was hoping there would be an easier way.
Momo 2019 年 11 月 4 日 上午 7:36 
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 += '/'
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2019 年 11 月 4 日 上午 6:43
回复数: 3