我希望能够在Blender的脚本模式下读取Blender对象的自定义属性。目前我只发现了在脚本模式下读取您自己创建的自定义属性的可能性。但是我想要读取我手动标记的自定义属性。这意味着我没有可用的局部变量。
我希望在以下上下文中实现此目的: 我正在循环遍历所有对象:
for obj in bpy.data.objects:
if not 'Camera' in obj.name and not 'Lamp' in obj.name and not 'Armature' in obj.name:
#here I get the location of the current Object
loc.append(obj.location)
现在完美的情况是,类似于以下内容:
obj.getCustomProperties
有没有一种方法可以使用Blender Python模式来完成这个任务?
谢谢, 丹尼尔