📋 Metadata
- Author: roaoao
- Date: 2018-07-16 19:07:30
- Type:
answer - Reply to: post_01472
- Replies (2): post_01474, post_01478
💬 Content
rhyging5:
Hello, sorry to disturb once again with my demands. Is possible to add a button for keyframing specific bones (even they are not selected) in LocRot or any keying set?
Hi, try something like this in Command tab:
bone_names = {"Bone", "Bone.001", "Bone.002"}; [setattr(bone, "select", bone.name in bone_names) for bone in C.object.data.bones]; bpy.ops.anim.keyframe_insert_menu(type='BUILTIN_KSI_LocRot')