there are two cubes on the same spot
but
When I use this(similar might not work if you try)
def parent_set(object, armature, bone):
object.parent = armature
object.parent_bone = bone
object.parent_type = 'BONE'
objj = bpy.data.objects
parent_set(objj['object'], objj['Armature'], 'bone')
it does something like this
How can i fix this


def parent_set(object, armature, bone): object.parent = armature object.parent_bone = bone object.parent_type = 'BONE' objj = bpy.data.objects parent_set(objj[str(1+i)+'_obj'], objj['Armature_pyhs'], str(1+i)+'_bone')– hakk akkk Jul 16 '21 at 05:33