Post #1532: Another Question.

📋 Metadata

🏷️ Tags

macro python-scripting intermediate unsolved

  • Macro Editor
  • Python Scripting
  • Popup Dialog Editor

💬 Content

Another Question.

I got this working via an external Python Script, in another format, but can I write this as 1 line, and skip the external file?

if bpy.context.space_data.show_only_render == False bpy.context.space_data.show_only_render = True else bpy.context.space_data.show_only_render = False

Edit: Another question :).

Is it possible to copy this panel or settings somehow, so I can move object in Local Space/etc? Ideally I’d like to be able to Toggle Global/Local Space buttons, and it would let me use the same spinners , but according to the space.

image

Toggle Global / Local, and use these Spinners to adjust in proper Space?

image


🔗 View on Blender Artists