Macro Rotate View

Description
This macro rotates the current view by 90° to the left. Only works if you are in Top view

Description
This code for :
 * 1) axonometric view with Y pointing upwards Macro_Rotate_View_with_Y_pointing_upwards_.png mode 1
 * 2) axonometric view with Z pointing upwards Macro_Rotate_View_with_Z_pointing_upwards_.png mode 2

Description
This def paste in the Python console FreeCAD (or your macro) allows you to rotate the view in 3-axis and the angle (in degrees) give interesting to create a plan to a desired position

Use
Paste the code in the Python console FreeCAD and type >

Script
tip in the console ex :

If there is no open document an error is returned