Reply To: Bone Constraint not working

Forum Archive Bone Constraint not working Reply To: Bone Constraint not working

#62000
Wayne Dixon
Participant

    Hey Peter,
    I’m not exactly sure what your “weapon to hand IK” is, but if it is using a custom property and library overrides, you will need to make sure all the custom properties have “Is Library Overridable” enabled.

    This will allow the Override system to edit this in the linked file.

    I still wouldn’t recommend  using library overrides just yet though – maybe one day soon haha.

    But here is a python script that will edit all the custom BONE properties on the active armature object.

    import bpy


    rig = bpy.context.active_object

    bones = [bone for bone in rig.pose.bones]


    for bone in bones:

        for key in sorted(bone.keys()):

            if key not in '_RNA_UI':

                bone.property_overridable_library_set(f'["{key}"]', True)

    Hope that helps