Can not rotate everything on the page

I have a strange problem. I have a complex drawing on a vertical B-size  sheet.  The drawing contains several dimensions created with the auto dimension tool. I have activated editing of all layers. I then change the paper format to horizontal. After that I select all drawing details and rotate it 90 degrees to fit the horizontal layout sheet. As a result it rotates everything except the auto dimension lines (the dimensions themselves rotate but the dimension lines stay put. What could be wrong here?