# ToolEigenMode()

Import Eigenmodes.

## Usage

ToolEigenMode( dialog = True, tail = True,
args = None, sendState= None,
win = win, name = None )

## Parameters

dialog (boolean)
A flag defining if the Process dialog should be shown or not.
tail (boolean)
A flag defining if AcuTail should be started or not.
args (dictionary)
The arguments of this process.
sendState (lambda function)
A lambda function which sends (reports) the state of the process to the process automation when required.
win (MainWindowObject)
Parent main window.
name (string)
The name of the eigen manager.

None

## Errors

• The parent main window object specified by win must already exist.
• The sendState lamdba function must be already defined.

## Description

This routine imports Eigenmodes. The parent main window is given by win. If the dialog is True the dialog of this tool function will be shown while running. The arguments of this function are given by args. If the tail is True, AcuTail will be started. When the sendState lambda function is called, it sends an event to the Process Automation dialog to report the current state of the process. For example, when sendState('finished') is called an event will be sent to the Process Automation dialog showing that this process is finished. This will allow the dependent process (the process which should be executed after the current process is finished) to be run. For example,
eigFile = "sample.frd"
ToolEigenmode( name = "spool",
dialog = False,
args = { "Import" : eigFile })