Post #2539: sometimes C.xxx.xxx works.

📋 Metadata

  • Author: MickHanks
  • Date: 2019-07-23 16:24:55
  • Type: question
  • Quality Score: 5/10
  • Replies (1): post_02541

🏷️ Tags

python-scripting beginner unsolved

  • Python Scripting
  • Macro Editor

💬 Content

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

Is there any rule of thumb to follow?

In this case, neither works.
C.scene.tool_settings.use_snap = True
or
bpy.context.scene.tool_settings.use_snap = False

thanks

Untitled-1Untitled-12256×804 732 KB


🔗 View on Blender Artists