Can someone please explain me what is the difference between:
bpy.data.objects['Armature']
bpy.data.armatures['Armature']
I can see they have different types and properties:
>>> type(bpy.data.objects['Armature'])
<class 'bpy_types.Object'>
>>> type(bpy.data.armatures['Armature'])
<class 'bpy.types.Armature'>
bpy.data.objects['Armature'].pose
is a valid object but bpy.data.armatures['Armature'].pose
returns an error, why?
I also noticed bpy.data.objects['Armature'].data
returns bpy.data.armatures['Armature']
What is their respective definition and for which purpose shall one be used vs the other?