Post #3361: You can add a property with a custom name in the step one but you still need the
📋 Metadata
- Author: noKeyframes
- Date: 2020-06-16 07:48:22
- Type:
answer - Quality Score: 7/10
- Reply to: post_03355
- Replies (1): post_03362
🏷️ Tags
macro hotkeys intermediate solved
⚙️ Related PME Features
- Macro Editor
- Property Editor
💬 Content
You can add a property with a custom name in the step one but you still need the dialog box, don’t know if this might help.
Macro:
1 - Creates a property in the active bone using the name inside the brackets but uses max values
C.active_bone['cc'] = 1.0
2 - The settings popup to normalize the values
bpy.ops.wm.properties_edit(data_path='active_bone', property='cc', value='1.0', min=0.0, max=1.0, soft_min=0.0, soft_max=1.0)
If you want to use it with normal objects just change “active_bone” for “object.data” in both commands
❤️ 1 likes