I want to duplicate an object (by name). In this case, tried "Cube":
src_obj = bpy.data.objects["Cube"]
#print (src_obj) #ok, seems selected
new_obj = src_obj.ops.object.duplicate(linked=0,mode='TRANSLATION')
which gives me: 'Object' object has no attribute 'ops'
How can I fix it?
Thanks.