Post #3361: You can add a property with a custom name in the step one but you still need the

📋 Metadata

🏷️ Tags

macro hotkeys intermediate solved

  • 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


🔗 View on Blender Artists