next up previous contents index
Next: The !sw Command: Swap Up: Window Cells Previous: Window Cells   Contents   Index


The !cc Command: Load Cell into Window

Syntax: !cc [name] [cellname]
This command will change the cell displayed in the drawing window that had the keyboard focus when this command was initiated. If the focus was the main window, this command is similar to the Edit command, and will open a new cell or file for editing. Otherwise, the given file/cell is opened and displayed in the window.

The first argument is the name of or path to an archive file, native cell file, or cell in memory. The second argument is the name of a cell in the archive, used to resolve ambiguity. These are the same arguments as given to the Edit command, and this command has the same behavior when reading the layout data as the Edit command.

If no argument is given and the focus was a subwindow (from the Viewport command), the subwindow will display the same cell as shown in the main window, thus enabling editing in that subwindow if the display mode is the same as the main window.

If no argument is given and the focus was the main window, the cell shown in the first subwindow will be shown in the main window and become the current cell. The subwindows are examined in order of the window number 1-4 as shown in the title bar. If there are no subwindows present or the first window is already showing the current cell, there is no effect.


next up previous contents index
Next: The !sw Command: Swap Up: Window Cells Previous: Window Cells   Contents   Index
Stephen R. Whiteley 2006-10-23