DDNEW

The DDNEW command lets you create a new work drawing file via a GUI dialog window operation. You may specify to create a completely empty work drawing file or to pre-load it with a specific prototype drawing. Moreover, you may specify not to show up the main dialog window but to go on the creation of the new drawing file directly. This helps simplify the command procedure, once it is well setup.

If the dialog window is enabled, DDNEW will pop up the dialogue window as shown below:
ddnew.gif (3898 bytes)

The following describes these screen items in details.

  • Filename     Filename string entry field, specifying the path name of the new drawing file to create. Click at this entry field and you will be asked to enter the filename via the general file window operation.
  • Prototype     Filename string entry field, specifying the path name of the prototype drawing file to use. Click at this entry field and you will be asked to select a work drawing file used as the prototype drawing via the general file window operation.
  • Use Prototype Drawing     Check box, indicating whether the DDNEW will pre-load a prototype drawing file for the new created drawing file or not. If this check box is marked, it will. You may click it to change its check state.
  • Don't show this dialog again     Check box, indicating whether the DDNEW will show the same dialog again at the next DDNEW command invocation or not. You may click it to change its check state. If this check box is marked, DDNEW will go on the creation of the new drawing file directly without entering this dialog window again at its next invocation. It will directly ask for the new drawing filename to create and will create it using current prototype drawing setup.

Re-enable the Show-up of Dialog Window

Once you have disabled the show-up of the dialog window, DDNEW will directly pop-up file window for you to specify the new drawing file to create whenever the DDNEW command is entered. However, if you quit the file window without specifying any drawing file to create, the dialog window will show up again, where you may change the prototype drawing setup.

Check to Save Current Drawing File

Before actually creating the new drawing file, DDNEW will check to see if the current drawing file has been modified or not. If it has been modified, DDNEW will pop up a query box asking you whether to save it or not, and save it if the answer is positive.

Note that a drawing is said to have been modified if there has been at least one command executed after the drawing was loaded or saved.

Special Notes:

The DDNEW command is an external command provided by the TCL program file "DDNEW.TCL" or "DDNEW.TCA". Either file must be present in the COMMANDS sub-directory where the TwinCAD resides. If you can not issue DDNEW command, you may solve the problem by copying the "DDNEW.TCL" to the COMMANDS sub-directory.

goback.gif (1545 bytes)