>>> o = C.active_ #Ctrl space done!
active_base active_bone active_object active_pose_bone
>>> o = C.active_object
>>> o
bpy.data.objects["Cube"]
>>> o.name="PKHG"
>>> o
bpy.data.objects["PKHG"]
If you open (in Blender 2.54) the console (above activate Scripting!)
and Type the C
you see that it is a shortcut for bpy.context, see:
>> C
<bpy_struct, Context at 0x02D43008>
>>> bpy.context
<bpy_struct, Context at 0x02D43008>
And in this console the completion operation is Ctrl - space (two keys of the keyboard), very convenient!
Try it e.g.
bpy.c (Ctrl-Space)
bpy.context. (Ctlr-Space)
etc!
If you open (in Blender 2.54) the console (above activate Scripting!)
and Type the C
you see that it is a shortcut for bpy.context, see
sorry i tried this c in the console window
and get this
>>> c + ctrl space chr( class classmethod( compile( complex( continue copyright( credits( >>> c