Hi Martin, For permanent magnet you have two options:
1) You could change the material definition and define it as a function of the same angle. As I think of this, it is the harder method here because you would likely need a project variable, so let's skip to method 2...
2) You should create a relative coordinate system. You could use a general rotated relative coordinate system that is defined as a function of the angle. But I recommend using either an object-based or face-based relative coordinate system. Then you can just click on two points of the object, and the coordinate system should follow any changes that have been defined to the object already, such as a rotation. The final point to remember when using a relative coordinate system for material properties is to assign the object's orientation property to the relative coordinate system.
Note that this is required only for static simulations or when the position is defined without transient motion. In a transient motion model (such as an electric machine), the magnetization direction is evaluated based on the defined geometry ("Time=-1s"), and then the relative (rotated) orientations for all the "moving" objects is kept constant over time as initially defined.