Results 1 to 2 of 2
  1. #1

    select lets each one of these items separately

    Hi iam new I am learning Basic Python and learning slowly to use it in Blenders API using Python

    default open blender scene

    I am think is right
    remember I am learning not pros like you guys and gals

    import bpy # this speaks to blender API using Python to access

    list(bpy.data.objects) # list out all objects and items in scene

    #result would give the Camera Cube Lamp

    #so if I wanted to just select lets each one of these items separately how would I do that using Python ?



  2. #2
    This would be:
    Code:
    import bpy
    for o in bpy.context.scene.objects:
        o.select = True
    One good idea is switch to the "Scripting" screen layout, this way you can test many commands in the "Python Console" editor interactively.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •