Edit Within the Command Window

Navigate and Edit Within the Command Window

The standard keys below are provided for navigating and editting text in the command window to correct or repeat commands.


  • INS, DEL




   Use UP ARROW, DOWN ARROW and ENTER, you can repeat any command used in the current session by cycling through the commands in the command window.

    By default, pressing CTRL+C copies highlighted text to the Clipboard. Pressing CTRL+V pastes text from the Clipboard to the text window or the command window.

    If you right-click on the command window or text window, ZWCAD displays a shortcut menu from which you can copy selected text or the entire command history, paste text, and access the Options dialog box of the Command window.

     In general, a command line with two or three lines of previous prompts is given to several commands, called the command history, which is sufficient for viewing and editing. To see more than one line of command history, you can scroll through the history or resize the command window by dragging its border upwards, or you can press F2 to use the text window.

     The text window is a window similar to the command window in which you can enter commands and view prompts and messages. With a complete command history for the current ZWCAD session displayed, the text window can be used to view lengthy output of commands such as LIST, which displays detailed information about objects you select.

    To copy all the text in the text window to the Clipboard, use the COPYHIST command.

Dock and Resize the Command Window

    By default, the command window is docked. The docked command window is the same width as the ZWCAD window.

    You can resize the window vertically by dragging the splitter bar, which is located on the top edge of the window when it is docked on the bottom and at the bottom edge of the window when it is docked at the top.

     Undock the command window by dragging it away from the docking region. When you undock the window, the floating window is the size it was before you undocked it. You can move the floating command window anywhere on the screen and resize its width and height with the pointing device.

     Dock the command window by dragging it until it is over the top or bottom docking region of the ZWCAD window.

Modifying a command

     If you are working in the command bar, there are special ways that you can modify a command as you work. You can modify the active command using any of the following options:

  • Object snaps — Type an object snap command, such as nearest or midpoint, to enable a one time object snap for a single selection. You can also use a one time object snap to override a running object snap.

  • Extension snaps — Type int after selecting a command, such as Line or Circle, to enable a one-time snap to the logical location where two objects would intersect if they were of infinite length. Type app to enable a similar one time snap if the extensions would not intersect in three dimensional space but would intersect in the current view.

Using the Prompt History window

      The Prompt History window displays a history of the commands and prompts issued since you started the current session of ZWCAD. By default, the program tracks up to 256 command lines.

      There is no limit to the number of command lines you can track, but program performance may be degraded if you choose to track an excessively high number of lines.

To display or close the Prompt History window

Press F2.

To view entries in the Prompt History window

Do one of the following:

  • Use the scroll bars.

  • Use the Up and Down arrows to display previously used commands.

To copy or paste text in the Prompt History window

  1. If you want to copy text from the text window, do one of the following to get the text field that you want:

  • Highlight text using your mouse.

  • Press Ctrl + Shift + arrow keys to highlight the desired text.

  1. Right-click and choose whether to copy or paste.

TIP You can also copy the entire command history by choosing Copy History.

Commands Reference

COPYHIST: Copies objects to the Clipboard

GRAPHSCR: Closes the text window

LOGFILEOFF: Closes the log file opened by LOGFILEON

LOGFILEON: Writes the text window contents to a file

TEXTSCR: Opens the text window

System Variables Reference

LOGFILEMODE: Specifies whether the contents of the text window are written to a log file

LOGFILENAME: Specifies the path and name of the log file for the current drawing

LOGFILEPATH: Specifies the path for the log files for all drawings in a session


PrintPrint Get a PDF version of this webpage PDF

© 2017 ZWCAD Software Co., Ltd. All rights reserved. | A proposito di ZWSOFT | Privacy Policy | Terms and Conditions | Contattaci | Site Map
All trademarks, trade names or company names referenced herein are used for identification only and are the property of their respective owners.