Post #4973: Thank you for the details.
📋 Metadata
- Author: Pluglug
- Date: 2023-12-13 02:13:24
- Type:
answer - Quality Score: 7/10
- Reply to: post_04972
🏷️ Tags
macro hotkeys advanced unsolved
⚙️ Related PME Features
- Macro Editor
- Hotkey Configuration
- Modal Editor
💬 Content
Thank you for the details.
I understand that you have some kind of naming convention and are trying to create different sized “Instances” from the “_Cloth_Baked” object. After creating the “Instance”, you’re trying to return to the “_Cloth_Baked” object. Is this correct?
Also, I rewatched the video carefully and I don’t think it’s possible to assign hotkeys to On Cancel and On Confirm. Aren’t hotkeys only assignable to Commands and Properties?
As a trial, please replace slot 3 of Transform_Resize_Editmode_invoke_macro with the following text:
bpy.ops.transform.resize('INVOKE_DEFAULT', release_confirm=True) #
(I haven’t tested this. There’s a 30% chance it might work.)
Reason: From our previous conversation
I’m not sure if I fully understand the functionality you want to create, but I’m wondering if it’s necessary to use a modal operator. If it were me, I would complete it using only macros.