I'm just getting into Python and have managed to snake (pun intended) my way through a couple of projects. But, with the number of classes, properties, methods, and what-not else in a Blender Project, it's just so overwhelming for a beginner.
bpy.data.objects, bpy.context.object.data, bpy.data.objects.name, bpy.context.object.data.materials_slots, etc etc, etc. When do I access What, When or How do I use What, and How do I get That to do This instead of That or print What I Want, When I Want it to. (I would Prefer to learn without Banging my head off the computer desk in frustration.)
I've just downloaded the MS Visual Studio Code program which has an extension for Python. I've added the path to Blender Python to my USER Path statement so VS Code can find "Python".
Is it possible to load (import) the Blender BPY (or other builtin) modules into VS Code so I can watch and debug code while I write it and it's active and have access actual syntax help by hovering the mouse over a command?
Or are the builtins only accessible via the Blender Python Console (in other words there has to be a firm connection to the actual objects within the Blender environment for Python to see the elements of the blender scene?)
I'm looking for a way to be able to walk through my code as I write it, learn the in and outs as I go, with a minimal frustration factor as I learn.
Thanks...
Bookmarks