Post #1540: Yeah, that works! At least as a debug/test.

📋 Metadata

🏷️ Tags

macro python-scripting advanced unsolved

  • Macro Editor
  • Python Scripting
  • Property Editor

💬 Content

Yeah, that works! At least as a debug/test.
Doing something like,

setattr(C.active_operator,"value",Vector((0,0,10)))
bpy.ops.ed.undo_redo(True)

But, to move in Z, i have to also set the Axis Constraints, to see the Update of course.
I’m not sure how I can use this yet/still trying to wrap my head around it.

I tried doing the Property/OnUpdate, but I must not have been doing it right.

Edit:

Seems like I can’t edit that stuff though via Python/External Script. Or it doesn’t update the UI anyways. I can only seem to get the Value.

imageimage943×101 4.97 KB


🔗 View on Blender Artists