Post #3493:
Ph
π Metadata
- Author: roaoao
- Date: 2020-08-04 11:28:50
- Type:
answer - Quality Score: 6/10
- Reply to: post_03490
- Replies (1): post_03497
π·οΈ Tags
macro hotkeys configuration advanced unsolved
βοΈ Related PME Features
- Macro Editor
- Python Scripting
- Hotkey Configuration
π¬ Content
Phazor:
What Iβm trying to do is toggle between the mask tool and which ever sculpt brush I had before using the mask tool.
builtin_brush.Mask tool id works for me:
tool_id = "builtin_brush.Mask"; tool = C.workspace.tools.from_space_view3d_mode(C.mode); tool_id = getattr(pme, "prev_tool", tool_id) if tool_id == tool.idname else tool_id; setattr(pme, "prev_tool", tool.idname); bpy.ops.wm.tool_set_by_id(name=tool_id)
Phazor:
UPDATE: It works sometimes but not consistently
Can you record and post a video?
Phazor:
Grease pencil has an Line Tool, Arc tool, Arc, Curve, Etc. They All require the use of the E key to extrude the strokes in draw mode. Iβm trying to remap the E key to left mouse (press) but I canβt seem to find these keymaps in blender preferences or the PME addon. How do I remap the E key to LMB press?
I canβt find the keymap either. 
β€οΈ 2 likes