Post #2541: ![](https://blenderartists.org/user_avatar/blenderartists.org/mickhanks/48/77779

📋 Metadata

  • Author: roaoao
  • Date: 2019-07-23 17:14:11
  • Type: answer
  • Quality Score: 7/10
  • Reply to: post_02539

🏷️ Tags

python-scripting beginner solved

  • Python Scripting
  • Macro Editor

💬 Content

MickHanks:

sometimes C.xxx.xxx works.
Other times bpy.xxx.xxx. works.

Is there any rule of thumb to follow?

Both should work in PME and Blender’s python console.
In Blender’s text editor works only bpy....
C is the same as bpy.context


❤️ 1 likes


🔗 View on Blender Artists