You need to add Rotation Step commands into your file. I don't know if it's possible in LeoCAD (there's a high chance it is.
Here you can read more about rotation steps (in MLcad).
Here you can read more about rotation steps (in MLcad).