Console output à la Maya

Hi all,

I am a Maya user switching to Blender. Is it possible to see the python functions in the console as I issue commands from the Blender gui? In Maya it was really helpful to see the MEL commands in the Output window as one was working in the gui… it’s a great way to learn the API.
If this feature does not exist where does one usually suggest/request features for Blender?

http://i.imgur.com/gZbZb.png

  1. you can drag down the info panel (the panel with File Add Render …), it attempts to report most operators / ui interactions used.
  2. hover over buttons, if a small popup appears do ctrl+C it will copy the underlying command to the system clipboard for pasting. (often, not always)

both are useful.

this is exactly what I was looking for.
thanks a lot, I appreciate your time…

Maybe worth noting a few things about the report-output:

  • the report will (sometimes) include all the possible parameters that you can pass to a function.

For instance if you see


bpy.ops.transform.translate(value=(0, 0, 1.73368), 
                            constraint_axis=(False, False, True), 
                            constraint_orientation='GLOBAL', 
                            mirror=False, 
                            proportional='DISABLED', 
                            proportional_edit_falloff='SMOOTH', 
                            proportional_size=1, 
                            snap=False, 
                            snap_target='CLOSEST', 
                            snap_point=(0, 0, 0), 
                            snap_align=False, 
                            snap_normal=(0, 0, 0), 
                            texture_space=False, 
                            release_confirm=False)


most of that isn’t needed, as they are mostly default values and will be used anyway. ( python has a mechanism that lets you set a list of default values for parameters, if they aren’t passed explicitly). In essence the following line and the line above result in the same execution.


bpy.ops.transform.translate(value=(0, 0, 1.73368))