Post #1338: Mighty Pea:

📋 Metadata

  • Author: roaoao
  • Date: 2018-04-24 11:37:14
  • Type: answer
  • Quality Score: 8/10
  • Reply to: post_01337

🏷️ Tags

v1-15-0 modal-operator scripting hotkeys advanced solved

  • Modal Editor
  • Python Scripting
  • Hotkey Configuration

💬 Content

Mighty Pea:

I’m still not clear about the synthax required for some other stuff I’m attempting. Is there any more documentation coming?

Yes, but after PME 1.15.0 release.
Make sure that you checked this page and this video.

Mighty Pea:

How can I get the ‘Smoothness’ control on the mousewheel to function in the following Modal:

I’m using ctrl+mousewheel to control the smoothness in

. Note that to apply modified properties of the active operator (smoothness in this case) we need to call bpy.ops.ed.undo_redo(True) operator. Also note that the position of On Update slot is important.

But you want to control both tools (subdivide and unsubdivide) with mousewheel. Right?


🔗 View on Blender Artists