How to add an empty object with python using bpy and not using any ops? My code so far is doing this:
bpy.ops.object.empty_add(type='PLAIN_AXES',radius=RADIUS,location=loc)
For normal object like mesh or lamp there is object_data created using normal bpy.data.object.new calls, but for empties it seems that this method does not exist. So is this possible to avoid using the operators? The reason I'm asking is because when I add an empty using bpy.ops it changes the active object, etc. causing the script to be more bloated with unnecessary code lines.