Creating addon for rotating fbx model in python This is the code I wrote for rotating the .fbx model I imported from Rhino. 

bl_info = {
    "name": "Reture Z axls",
    "category": "Object",
}

import bpy


class ObjectRotateX(bpy.types.Operator):
    """My Object Rotate Script"""
    bl_idname = "object.rotate_x"
    bl_label = "Rotate X by 90"
    bl_options = {'REGISTER', 'UNDO'}

    def execute(self, context):

        scene = context.scene
        for obj in scene.objects:
            obj.rotation_euler = (0,0,0)


        return {'FINISHED'}


def register():
    bpy.utils.register_class(ObjectRotateX)


def unregister():
    bpy.utils.unregister_class(ObjectRotateX)


if __name__ == "__main__":
    register()


The problem is that it will rotate everything in the scene including the camera. I wonder if there is better way to do this? Also is there anyway I can rotate each object seperately? 
Thank you!
This sounds like a task that should be performed by the import FBX addon. The addon does include some options for rotation.

The first set of options allow you to define which axis is up and which is forward, if those two don't resolve the placement you may also need to try turning off the last option Use Pre/Post Rotation