a post about the blender python api
This post is just a reminder of basic bpy (blender python) functions and how to use them.
Access the scenes
> > > bpy.data.scenes
> > > <bpy_collection[1], BlendDataScenes>
Access the objects in a Scene
> > > bpy.data.objects
> > > <bpy_collection[5], BlendDataObjects>
Access objects by name (check image)
> > > bpy.data.objects['Barrel']
https://federicoarenasl.github.io/Data-Generation-with-Blender/
Access and modify information of objects
> > > bpy.data.objects['Camera.001'].rotation_euler[0] = 0