Command Shortest equivalent paint pai erase era label label polycontact pc
Also, the "." will repeat the last command on the new selection. Highlighting an area and middle-clicking in a different region will paint the middle-clicked material into your highlighted area. This also works for deleting selections my middle-clicking an empty region.
Users with "readline" compiled in or users of the Tcl version of magic also have the shortcut key macros "p" and "l", which expand to "paint" and "label" on the command line, then wait for further input.
Magic versions 7.1 and up increased the undo sequence limit to 1000. Magic versions 7.4 and 7.5 implement selections in a more efficient way, so that Magic doesn't dump the whole geometry of the selection onto the undo stack. That was one of the most common reasons for Magic 6.5 to run out of computer memory.
Material Shortcut poly p metal 1 m1 metal 2 m2 metal 3 m3 m1 to m2 contact m2c polycontact pc
Note that these "shortcuts" are different from the command shortcuts in that they are not "built into" the program. These abbreviated names are declared in the technology file "types" section, so they may differ from technology to technology.
Tcl-based Magic version 7.4/7.5 has an additional set of shortcuts made available by selecting the "options->toolbar" menu button, which brings up a display of each material type. While the mouse button is over the material type in the toolbar, typing "p" will paint the material into the box on the layout; "e" will erase the material, and "s" will select the material. Clicking the right mouse button will hide the material type from displaying in the layout, and clicking the left mouse button will restore the display of the material type. Clicking the middle mouse button is equivalent to typing "p"; it paints the material.
upsidedown flips selected parts on a horizontal axis sideways flips selected parts on a vertical axis rotate rotates selected parts 90° clockwise
To move parts of your design, first select the parts to move by boxing the desired parts with the cursor and hitting the 'a' key. Then move the cursor to the location you want to place the lower left corner of your selection box and hit the 'm' key. To extend pieces and not lose the connections, select the parts to move and then move them using the numeric keypad. This will move the parts up, down, left, right and extend any connections to the parts to the new location.
The Tcl/Tk-based version of Magic has an interactive move feature. Hit the space bar until you get the PICK tool. When the PICK tool is active, you can still use all of the key macros, such as "s" and "a" to select paint, as well as using the left and right mouse buttons to move the cursor box around as usual. With something selected and the PICK tool active, click the middle mouse button for a "move" function. You will then be able to interactively drag the selection around with the mouse (you will see only an outline of the selection during this time). Every time you press the left mouse button, you will paint a copy of the selection into the cell. The middle mouse button will paint one last copy and exit, while the right mouse button will exit the interactive copy without painting anything more.
Pressing the shift key along with the middle mouse button performs an interactive "copy" function. This works like the interactive move except that the original selection is not deleted from the layout.
layer MET1 m1 calma 10 0
layer TEXTM1 labels m1 calma 10 1
The first block outputs metal1 paint as GDS layer 10 datatype 0. The second block contains no paint information but outputs labels attached to metal1 on GDS layer 10 datatype 1.
set Opts(callback) "grid ..."
This feature is only available in the Tcl-based version of Magic.