Reply To: Can’t edit this property from an override data block

Forum Archive Can’t edit this property from an override data block Reply To: Can’t edit this property from an override data block

#73465
Wayne Dixon
Participant

    Hey Orbo,

    I will need to do a quick hot fix for this, but with library overrides all the custom properties need to have the “make overrideable” enabled in the original rig file.  

    When I get a chance I will fix all the download files but if you need to quickly get it up and running – here is a script for you.

    Copy and paste this code into the text editor, select one rig at a time, then run it (Alt P)
    Then save the file.

    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)

    It will only work on the active object, if that object is an armature.

    Yes I’ll do a proper update to the download files, but that’s probably not going to be today.