How to use this button via Python.

enter image description here

bpy.ops.object.make_single_user(object=True, obdata=True) does not work for me at all, object.data.make_local() makes library local without copying it, so all objects reference to it.

object.data = object.data.copy()

makes localized copy of linked data-block.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.