The spin button, available in physical mode, allows rotation of boxes, polygons, and wires by an arbitrary angle, and subcells and labels by multiples of 45 degrees. If no objects are selected, the user is requested to select an object. With the object selected, the user is asked to click on the origin of rotation. The selected objects are ghost-drawn, and rotated about the reference point as the pointer moves.
If the Constrain 45 button in the Attributes Menu is active, the angle will be constrained to multiples of 45 degrees. Pressing the Shift key will remove the constraint. If the Constrain 45 button is not active, holding the Shift key will impose the constraint. Thus the Shift key inverts the effect of the Constrain 45 button. However, if the selected objects include a subcell or label, the angle will always be constrained to multiples of 45 degrees.
At this point, one can click to define the rotation angle, or an absolute angle can be entered on the prompt line. To enter an angle, click on the origin marker, then respond to the prompt with an angle in degrees. In either case, the rotated boundaries of the selected objects are attached to the pointer, and new objects can be placed by clicking. Ordinarily, the original objects will be deleted, however if the Shift key is held while clicking, the original objects are retained. Instead of clicking, one can press the Enter key, which will simply rotate the selected objects around the reference point.
It is possible to change the layer of rotated objects. During the time that newly-rotated objects are ghost drawn and attached to the mouse pointer, if the current layer is changed, the objects that are attached will be placed on the new layer. Subcells are not affected. If in layer-specific mode, only objects whose layer was the original current layer will be changed to the new layer. If not in layer-specific mode, all new objects will be placed on the new layer, no matter what their original layer. If the current layer is set back to the previous layer before clicking to locate the new objects, no layers will change.
Note that this operation can change boxes to polygons and vice-versa. The rotation can be performed by clicking or dragging, however an angle can only be entered textually if the clicking mode is used.