Syntax: !ro x y angle [layer_name]This command will rotate all selected objects about x,y (given in microns) by angle (given in degrees) counter-clockwise. The functionality is similar to the spin command in the side menu.
Subcells and labels will be rotated in increments of 45 degrees in physical mode, 90 degrees in electrical mode, to the closest angle to that given. Other objects can be rotated by any angle.
The fourth argument, if given, will allow a layer change during the rotation. It should be the name of a layer that is not the current layer. If in layer-specific mode, objects being rotated that are on the current layer will be moved to layer_name. If not in layer-specific mode, all objects rotated will be changed to layer_name. Subcells are rotated without regard to layer_name.