Hi guys,
does anyone know if and how can I find or call a new bone that I just duplicated in python.
If I write
bone = bpy.ops.armature.duplicate()
Then bone gets the string {‘FINISHED’}
right now I’m using
bone = bpy.context.selected_bones[0]
after duplicating assuming that only the duplicated bone is selected, but it’s very buggy and problematic. any other idea how can I fetch the bone, or bone’s name?
or is it better just to create a new bone that I know its name from the begining, and giving it the same properties as the duplicated one?