Chapter 4. Menu Bar

Table of Contents

4.1. File Menu
4.1.1. New
4.1.2. Open
4.1.3. Close
4.1.4. Save
4.1.5. Save As
4.1.6. Save Copy As
4.1.7. Revert To Saved
4.1.8. Recent Files
4.1.9. Run Project Wizard
4.1.10. Create Local Macro
4.1.11. Add Local Macro
4.1.12. Open File in Integrated Text Editor
4.1.13. Show Integrated Text Editor
4.1.14. Run ToolRunner
4.1.15. Run TestCaseManager
4.1.16. Restart with Current Networks
4.1.17. Quit
4.2. Edit Menu
4.2.1. Undo
4.2.2. Redo
4.2.3. Clear Undo History
4.2.4. Cut
4.2.5. Copy
4.2.6. Paste
4.2.7. Duplicate
4.2.8. Delete
4.2.9. Select All
4.2.10. Deselect All
4.2.11. Invert Selection
4.2.12. Align / Distribute
4.2.13. Reload Selected Modules
4.3. Preferences
4.3.1. Preferences — General
4.3.2. Preferences — Packages
4.3.3. Preferences — Module Groups
4.3.4. Preferences — Supportive Programs
4.3.5. Preferences — Paths
4.3.6. Preferences — Developer
4.3.7. Preferences — Python
4.3.8. Preferences — Network Appearance
4.3.9. Preferences — Network Interaction
4.3.10. Preferences — Panel Appearance
4.3.11. Preferences — Cout/Cerr Redirection
4.3.12. Preferences — Symbol Controlled Debugging
4.3.13. Preferences — Exceptions/Tracing
4.4. Modules Menu
4.5. Applications Menu
4.6. Extras Menu
4.6.1. Reload Module Database (Keep Cache)
4.6.2. Reload Module Database (Clear Cache)
4.6.3. Reload Imported Python Modules
4.6.4. Run Module Tests
4.6.5. Generate Module Reference for User Packages (HTML)
4.6.6. Debug Widgets
4.6.7. Verbose Scripting
4.6.8. Show Connector Details
4.6.9. Show Image Connector Preview
4.6.10. Clear Image Cache
4.7. Scripting Menu
4.7.1. Show Scripting Console
4.7.2. Edit Network Script
4.7.3. Start Network Script
4.8. View Menu
4.8.1. View All
4.8.2. Zoom To Selection
4.8.3. Zoom In
4.8.4. Zoom Out
4.8.5. Zoom 100%
4.8.6. Layout
4.8.7. Toolbars
4.8.8. Views
4.9. Networks Menu
4.9.1. Cascade
4.9.2. Tile
4.9.3. Show Tab Bar
4.9.4. Next
4.9.5. Previous
4.9.6. Close Current
4.9.7. Close All
4.10. Panels Menu
4.10.1. Panels Stay In Front Of Main Window
4.10.2. Hide Panels of Invisible Networks
4.10.3. Minimize All Open Panels
4.10.4. Show All Minimized Panels
4.10.5. Working with the Panel List
4.11. Help Menu
4.11.1. Show Help Overview
4.11.2. Search in Documentation
4.11.3. Browse Help Pages
4.11.4. Welcome
4.11.5. About
4.11.6. Enter License

4.1. File Menu

Figure 4.1. File Menu

File Menu

4.1.1. New

Creates a new MeVisLab network document.

4.1.2. Open

Opens an existing MeVisLab network from file (extension .mlab). Alternatively, the .mlab file can be dragged onto the workspace to open it in a new network window.

Some other file types may also be opened directly by dragging them onto the workspace (no network needs to be open for that):

  • A dragged image file (like .dcm, .tif, .png etc.) creates an ImageLoad module which automatically loads the file.

  • A dragged file readable by WEM modules (like .wem, .off, .obj, .ply etc.) creates a WEMLoad module which automatically loads the file. See the HTML help for the WEMLoad module for more information.

  • A dragged file readable by CSO modules (typically .cso) creates a CSOLoad module which automatically loads the file.

4.1.3. Close

Closes the current network.

4.1.4. Save

Saves the current network.

For saved networks, the AutoSave files are discarded. See Section 4.3.6, “Preferences — Developer” .

4.1.5. Save As

Writes the current network to file with a new name.

For saved networks, the AutoSave files are discarded. See Section 4.3.6, “Preferences — Developer” .

4.1.6. Save Copy As

Writes a copy of the current network to file with a new name.

4.1.7. Revert To Saved

Reverts to the last saved version of the current network. (Option is only available if network was changed.)

4.1.8. Recent Files

Allows selecting recently opened network from file. The maximum number of recent files is twenty. The list of recent files is not deleted upon installing a new version of MeVisLab. For more information about storing preferences, see Section 4.3, “Preferences”.

4.1.9. Run Project Wizard

Starts a wizard for creating new modules, packages and installers (ADK license required for the latter). See Chapter 21, Project Wizard.

4.1.10. Create Local Macro

Creates a new macro module locally to the current network path, based on the currently selected modules or a module group, see Section 3.9.2, “Editing, Converting and Deleting Groups”. The necessary inputs and outputs will be added automatically. The display names of interface fields can be changed but not the internal names.

Figure 4.2. Local Macro Creation

Local Macro Creation

Locally defined macro modules may be used in complex networks to encapsulate subnetworks as independent functional units with a defined interface to other network components. This way they carry out an application-specific function which would not be of use for any other application. Therefore they are not added to the common MeVisLab module database, i.e. they are not declared in a .def file. The following items are created:

  • the files <ModuleName>.script and <ModuleName>.mlab (empty network) in the current network path directory

  • the new local macro module on the current network workspace

A message box appears asking whether the local macro should be “promoted” to gobal macro module. If Yes is clicked, the Project Wizard opens to create a macro module. The default is No.

[Note]Note

A local macro module is not available in the MeVisLab module database, as no .def file is created. The module cannot be accessed via the Modules menu or the Modules Search. Local modules can only be added to networks in the same network path, see Section 4.1.11, “Add Local Macro”.

[Note]Note

During the conversion to local macro, modules need to be disconnected and reconnected. Connections that are set by script, i.e., forwarded from an outer macro, cannot be disconnected, so an alert will be issued. “Unable to remove the module [module name] with connections set by script.”. A similar alert is issued when trying to remove a module connected like this. In the next figure, modules within a red rectangle can neither be deleted, disconnected from the inputs/outputs, or added to a local macro.

Figure 4.3. Modules Connected to Outer Macros

Modules Connected to Outer Macros

For an introduction on macros, read Getting Started, chapter Introduction to Macro Modules.

4.1.11. Add Local Macro

Adds a locally defined local macro module to the current network, see Section 4.1.10, “Create Local Macro”. Choose the <ModuleName>.script file in the file dialog to add the local macro module. The local macro needs to be defined in the same folder as the network it should be added to.

4.1.12. Open File in Integrated Text Editor

Opens the integrated text editor MATE with a file dialog in which one or more files can be opened, see Chapter 22, MeVisLab Advanced Text Editor (MATE).

4.1.13. Show Integrated Text Editor

Opens the integrated text editor MATE without files, see Chapter 22, MeVisLab Advanced Text Editor (MATE).

4.1.14. Run ToolRunner

Starts the ToolRunner, see the ToolRunner documentation.

4.1.15. Run TestCaseManager

Starts the TestCaseManager of the TestCenter, see the TestCenter Reference and the Getting Started, chapter 16, Using the TestCenter.

4.1.16. Restart with Current Networks

Restarts MeVisLab with all networks currently opened. This is necessary for a complete DLL update and useful when developing new ML and Inventor modules. Alternatively, you can press a shortcut to restart MeVisLab with the current network. Refer Section 23.1, “Shortcuts on Windows and Linux/KDE” and Section 23.2, “Shortcuts under Mac OS X”.

4.1.17. Quit

Quits MeVisLab. If unsaved changed networks are open, a message appears.