While it is extremely easy to find operator calls (by inspecting the user interface and the info window), I have big difficulties to actually find the low level alternative functions which I can (or should) use in my scripts instead of the operators.

One recent example was:

  • operator call: bpy.ops.anim.keyframe_insert_menu()
  • RNA method call: obj.keyframe_insert("location",frame=frame)

Finding the operator was a matter of less than a minute. The low level function came to me as a comment about improving my code example.

So I wonder where I could find answers to questions of the type:

"what function(s) can I use to replace this operator... ?"

For me the blender API is not helpful for answering this type of question and google only helped me in few cases.

Of course I could post a question here every time I want to know more about a specific operator. But maybe there is a better alternative (document, gotcha, tip, tutorial...) that I overlook?

  • 1
    $\begingroup$ Concerning the API ref: The API is "object orientated". So starting from the "object" to manipulate works usually ok. What could help is ignoring bpy.ops for the most part and starting from bpy.data and going down to bpy.types. Sometimes overlooked are the inherited member below on the page. $\endgroup$
    – user2859
    Sep 23, 2014 at 10:50
  • $\begingroup$ Did you read blender.org/documentation/blender_python_api_2_71_release/… ? Especially the section Simple Data Access is important, because it tells you about the References section on bpy.types pages. Note that obj.keyframe_insert(...) is not low level. Low level keyframe creation is shown here: blender.org/documentation/blender_python_api_2_71_release/… $\endgroup$
    – CodeManX
    Sep 23, 2014 at 11:24

1 Answer 1


Attempt to create a collection of information resources:

From API documents

  • Inspect the inherited Functions Section at the page bottom.

From within the Python Console

  • Inspect bpy.data...
  • Inspect bpy.types...

List of useful reference documents

  • 2
    $\begingroup$ Maybe it is useful to collect a list of useful information sources here ? $\endgroup$
    – Gaia Clary
    Sep 23, 2014 at 12:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .