Script to rotate objects 90 degrees around their center

OK, here are two from my library, the first rotates each object around its own center relative to CPlane; the second, all selected objects together around a common bounding box center. To change the rotation angle, just change the input argument at the bottom - like 180 instead of 90 for a half-turn, or -90 to rotate clockwise instead of counter-clockwise. I have +/- 90° and 180° set up as keyboard shortcuts here. (607 Bytes) (576 Bytes)