Post #1187: : post_01219
🏷️ Tags
macro python-scripting intermediate solved
⚙️ Related PME Features
- Macro Editor
- Python Scripting
💬 Content
rhyging5:
basically a command like that, which is the influence slide bar of a bone constraint:
bpy.context.object.pose.bones[“DEF foot”].constraints[“Copy Rotation”].influence = 1
We have to use python script in this case:
bpy.context.object.pose.bones["DEF foot"].constraints["Copy Rotation"].influence = 1; bpy.context.object.pose.bones["DEF foot"].constraints["Copy Rotation"].keyframe_insert("influence")