On Tue, Aug 05, 2014 at 12:35:57PM -0500, Marcus Mravik wrote:
> I am trying to specify a number based on what the selected object number in
> the scene is.
Well, I have no idea about Blender, but if "selected object number" is
just an int, starting from 0 (or perhaps 1) and incrementing by 1 eac
Marcus Mravik wrote:
> I am trying to specify a number based on what the selected object number
> in the scene is.
>
> import bpy
>
> for obj in bpy.context.selected_objects:
>
> bpy.context.scene.objects.active = obj
>
> bpy.ops.graph.sound_bake(filepath="C:\\Users\\Marcus\\Music\\Don
On 05/08/14 18:35, Marcus Mravik wrote:
My overall goal is to create a Music Visualizer with Blender and I am
trying to automate the selection of the object, applying the variable
that goes up by 50 each time, starting with 0 for the low freq and 50
for the high freq. And ending with 7950 low an
I am trying to specify a number based on what the selected object number in
the scene is.
import bpy
for obj in bpy.context.selected_objects:
bpy.context.scene.objects.active = obj
bpy.ops.graph.sound_bake(filepath="C:\\Users\\Marcus\\Music\\Don't Just
Stand There (Instrumental).mp3", l