Properties Library Overridable

So I have this property in my script

bpy.types.Object.ARS = BoolProperty(
name="Arm Stretch R", description="Enable/Disable Arm Stretch", default=True)

And I want to make it library overridable. But the thing is that I don’t know how.

I tried to do this

bpy.types.Object.ARS = BoolProperty(
name="Arm Stretch R", description="Enable/Disable Arm Stretch", default=True, is_overridable_library=True)

But it doesn’t work.

Edit : Was wrong.

You need to add override = {"LIBRARY_OVERRIDABLE"} to the parameters.

bpy.types.Object.ARS = BoolProperty(
    name="Arm Stretch R", 
    description="Enable/Disable Arm Stretch", 
    default=True, 
    override = {"LIBRARY_OVERRIDABLE"})

https://docs.blender.org/api/current/bpy.props.html#bpy.props.BoolProperty

1 Like