WMS:File Menu: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
Line 40: Line 40:
Printed copies of WMS window displays can be generated by using the '''Print''' command.  WMS will print to any printer supported by Windows.
Printed copies of WMS window displays can be generated by using the '''Print''' command.  WMS will print to any printer supported by Windows.


When the '''Print''' command is selected the standard Windows '''Print''' dialog comes up allowing you to pick your printer, paper orientation and the typical printing parameters.
When the '''Print''' command is selected the standard Windows ''Print'' dialog comes up allowing you to pick your printer, paper orientation and the typical printing parameters.


If you wish to control the size and location of the print on the paper then you should access the [[WMS:Page Setup|Page Layout]] command from the File menu.
If you wish to control the size and location of the print on the paper then you should access the [[WMS:Page Setup|Page Layout]] command from the ''File'' menu.


=====Printer Setup=====
=====Printer Setup=====


The '''Printer Setup''' command allows you to control the orientation of the printed image on the sheet of paper and the paper size.  For Windows versions the standard Printer Setup dialog for the currently selected printer device will be brought up which allows you to change other relevant parameters of the currently selected printer.
The '''Printer Setup''' command allows you to control the orientation of the printed image on the sheet of paper and the paper size.  For Windows versions the standard ''Printer Setup'' dialog for the currently selected printer device will be brought up which allows you to change other relevant parameters of the currently selected printer.


====Page Setup====
====Page Setup====

Revision as of 21:47, 5 March 2013

The File menu is one of the standard menus and is available in all of the modules. The commands in the File menu are used for file input and output for the WMS file types, for printing, and to exit the program.

The following commands are contained in the File menu:

New

The New command (Ctrl+N), or New macro WMSIcon New.png, deletes all data associated with all data types and all modules. As a result, a warning message asking if you want to save changes to the project will appear, giving a last chance to save. This command should be selected when an entirely new modeling project is started. The default settings are not restored so if you wish to restore all of the settings you should exit WMS completely and restart.

Open

The Open command (Ctrl+O), or Open macro File:Image051.jpg, is used to read all files. Unlike previous versions of WMS where the Open command was used to open WMS native file types and the Import command was used to open non-native files, in version 7.0 all files are opened with the Open command where the file filter in the "Files of type:" drop down indicates the type of file to be opened.

File:Image68.jpg

While any file can be opened from any module, the extensions listed tend to relate primarily to the active module. For example when in the terrain module you will see the extensions for .tin and .dem, but they do not appear in the map and other modules.

If a project file is selected, all of the files listed in the project file will be read in.

The five most recently opened files are listed at that bottom of the File menu. Selecting a file from this list will reopen it.

Drag and Drop

You can drag any WMS supported file from a Windows Explorer to the main window in WMS and it will open, or initiate the specific Import dialog such as DEMs, or shapefiles.

Import from Database

The Database Import Wizard allows users to access data stored in a database and import it. See Import from Database for more information.

Save

The Save command (Ctrl+S),or Save macro File:Image055.jpg, is used to save WMS projects. A project contains all of the files associated with a modeling project.

When a WMS project is saved, all files associated with the data currently in memory are saved. This includes any model simulations which are open. The model simulations are saved to the path most recently specified using the Save As command in the model interface menu.

Save As

The Save As command is used to designate the path and prefix file name for saving a WMS project. It can also be used to save a single file as specified by the extension indicated in the "Save as type:" drop down combo.

Previous versions had a separate command for exporting files (saving files in formats not native to WMS), but exporting is now handled by specifying the appropriate extension in the Save As dialog.

File:Image69.jpg

Publish to Web

The Publish to Web command is a specialized command for the US Army Corps of Engineers that allows them to share results of models by publishing a graphic of the current window along with some metadata explaining the project. Alternatively the WMS project files can be zipped and uploaded with the published content. This command first requires the user to authenticate to a web service with CDF capabilities. After successful authentication you can specify the metadata (description) and choose whether or not to upload the WMS screen capture and/or the project data files.

Print

Printed copies of WMS window displays can be generated by using the Print command. WMS will print to any printer supported by Windows.

When the Print command is selected the standard Windows Print dialog comes up allowing you to pick your printer, paper orientation and the typical printing parameters.

If you wish to control the size and location of the print on the paper then you should access the Page Layout command from the File menu.

Printer Setup

The Printer Setup command allows you to control the orientation of the printed image on the sheet of paper and the paper size. For Windows versions the standard Printer Setup dialog for the currently selected printer device will be brought up which allows you to change other relevant parameters of the currently selected printer.

Page Setup

The Page Setup dialog allows you to change the size and position of the printed image on the paper. It also allows you to specify margins, paper size, and orientation.

The image size is controlled by specifying the model units for an inch (or centimeter) of the paper. The scale toggle determines whether or not a scale legend is printed. The text color and font of the scale legend can be selected by clicking on the colored rectangle to the left of the toggle. If the Maintain Aspect Ratio toggle is not on then a scale legend cannot be printed.

Edit File

The Edit File command allows you to examine (or edit) any text file from within WMS. This command is particularly useful if errors occur while running a simulation using one of the hydrologic models supported by WMS. If a model does not run to a successful completion, errors can usually be found by examining the ASCII output file.

You will be prompted for the name of a text editor (Notepad is the default) and then the file is brought up in the specified editor. You can use the Find Other button to locate a different word processing .exe file and the "Never ask this again" toggle can be set so that you are not prompted for the word processing program each time.

Register WMS

In WMS, components (modules, interfaces) can be licensed individually depending on the needs and interests of the user. The components of WMS are licensed using a password system. The Register WMS command is used to enter a password that enables the licensed components. This command can be used to enable the program after initially installing WMS, or for adding additional modules to the program at a later time.

Exit

The Exit command (Ctrl+X) will exit WMS and terminate the program. Any data not yet saved to files will be lost and so you will be prompted before exiting to confirm that you have saved your most recent edits.

Related Topics