Is there any good references showing the contents of blender python api? Like what is in bpy.data and so on…
One that is convenient to look through…
A reference where it doesn’t teach me how to program… just convenient to look stuff up in.
Is there any good references showing the contents of blender python api? Like what is in bpy.data and so on…
One that is convenient to look through…
A reference where it doesn’t teach me how to program… just convenient to look stuff up in.
Open Blender, then Help menu -> Python API Reference.
Another handy trick is running “help(object)” in the Python script UI. This will print out the docstring for whatever class or function you have passed to ‘help’. The docstrings are not as complete as I wish they were but sometimes you get lucky and there is some extra information in them. I really should start updating those things when I figure out what they do…
Also, don’t forget ctrl+spacebar for showing completions in the blender console. To get a console quickly, use shift+F4.
Then you would type the start of something you wish to explore – in this case:
bpy.data.
then press ctrl+space to show the completions.
The docstrings are not as complete as I wish they were
Amen to that.