Syntax: !mark l|b|t|u|c|e|d|w|r [attr_flags]This command allows the user to add annotation marks to the cell display, physical or electrical. These marks are not part of the design and will not be saved in output, but are useful for temporarily marking or highlighting an area for reference. They will appear on plots of the cell.
The marks are persistent to a cell, meaning that they will appear whenever the cell is displayed as the top-level cell in a window. Each cell in memory can have its own set of marks. Marks are not displayed in expanded subcells.
The first argument is a letter giving the initial type of mark to create. When the command is active, any of these letters may be typed in a drawing window, which will change the current mark type. While the command is active, clicking twice or dragging will produce a mark, and Shift-clicking in an existing mark will delete the mark.
The optional attr_flags is a decimal number representing flags bits that control presentation format of the mark. The bits are
The value is a digit representing the set bits, for example 3 sets bits 0 and 1, 5 sets bits 0 and 2, etc. A value 0 is the default.
When the command is active, pressing a digit key will reset the current attribute flags for subsequent marks.
The following marks are available:
To delete a mark, while the !mark command is active, click on the mark to delete with the Shift key held. Any mark under the click location will be deleted, not just those of the current type.
Marks can be saved to a file, and restored from a file. This is accomplished by giving the following code letters, which can appear in the same contexts as the mark code letters.
The file format is not currently documented, but is very simple and should be easy to figure out by inspection.
The marks manipulated with the mark command are the same as the marks produced with the AddMark script function. Note that AddMark can create additional mark types not (yet) supported by the command interface.