ToolImportFile()
Imports a file (mesh, geom, input, library).
Usage
ToolImportFile( win, dialog = True,
tail = True, args = None,
sendState = None, fileName = None )
Parameters
- win (MainWindowObject)
- Parent main window.
- 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.
- fileName (string)
- The file name that should be imported.
Return Value
None
Errors
- The parent main window object specified by win must already exist.
- The sendState lamdba function must be already defined.
Description
sendState = lambda state : postEvent( procId, state )
ToolImportFile( win, False, False, None, sendState )