Post #4466: I used it because if i changed pivot from 3d view the info panel didn’t show any

📋 Metadata

  • Author: Adam_Szalai
  • Date: 2022-07-23 17:31:02
  • Type: discussion
  • Quality Score: 7/10
  • Replies (1): post_04467

🏷️ Tags

macro hotkeys advanced unsolved

  • Macro Editor
  • Stack Key Editor
  • Python Scripting

💬 Content

I used it because if i changed pivot from 3d view the info panel didn’t show any command.

Here are the Macro command i collected together in PME:

Active Snap:
bpy.ops.pme.macro_snap_active_vertex(PME_OT_macro_exec1={“cmd”:“bpy.context.scene.tool_settings.use_snap = True”}, MESH_OT_select_mode={“use_extend”:False, “use_expand”:False, “type”:‘VERT’, “action”:‘TOGGLE’}, PME_OT_macro_exec2={“cmd”:“C.scene.tool_settings.snap_target = ‘ACTIVE’”}, PME_OT_macro_exec3={“cmd”:“bpy.context.scene.tool_settings.snap_elements = {‘VERTEX’, ‘EDGE_MIDPOINT’}”}, PME_OT_macro_exec4={“cmd”:“bpy.context.scene.tool_settings.transform_pivot_point = ‘ACTIVE_ELEMENT’”})

Median Snap:
bpy.ops.pme.macro_snap_median(PME_OT_macro_exec1={“cmd”:“bpy.context.scene.tool_settings.use_snap = True”}, PME_OT_macro_exec2={“cmd”:“bpy.context.scene.tool_settings.snap_target = ‘MEDIAN’”}, PME_OT_macro_exec3={“cmd”:“bpy.context.scene.tool_settings.snap_elements = {‘VERTEX’, ‘EDGE_MIDPOINT’}”}, PME_OT_macro_exec4={“cmd”:“bpy.context.scene.tool_settings.transform_pivot_point = ‘MEDIAN_POINT’”})

and the video with Your suggestion. Sadly seems the same behav to me:
https://drive.google.com/file/d/1wDsgwH4mZj3Qly-1CG49x-OFZazm0qPG/view?usp=sharing

“What you want from what I understand is a third behavior that goes back to te last command used and after you press it again without doing anything it changes to the next one. ”

At the selection sets yes, but at the second one with the extrude and inset modes no.
Now if i press extrude mode and cancel it, the Stack key jumps automatically to the next state if i press the Stack key again. So it remembers state, but jumps to next (to jump the next it has to remember state :))
What i want is to remember state, but not jump to the next if i activate the stack key again.
This what remember state should means in my definition (which cares nobody :D)


🔗 View on Blender Artists