5
$\begingroup$

I know that operators can be copied for scripting by ctrl-c if you mouse through whatever menu item you are at.

What I was wondering is if there is a way to see the construction history. In Maya's scripting panel you can turn on construction history, and then as you select an item or press any operator (like create polygon cube) it prints out the internal construction code to a window. (That actual prints Mel scripting for Maya).

I am sure the construction history is stored in some data object, so another spin on the question could be phrased . What is the name of this object and can I run a print loop through it?

$\endgroup$
6
$\begingroup$

You can pull down the 'Info' panel at the top of the blender window to reveal the code for operators that have been run:

enter image description here

Here I have deleted an object, added a cube and then rotated the cube.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.