IApp Methods |
The IApp type exposes the following members.
| Name | Description | |
|---|---|---|
| AddProject |
Creates a new empty project.
| |
| CloseAllProjects |
Closes all opened projects.
| |
| CloseProject |
Closes a certain project without confirmation.
| |
| Exit |
Closes application. Unsaved projects and COM server connections will be lost.
| |
| GenerateMesh |
Starts mesh generation of the active project. InitializeSimulation(IProject) must be called prior
to calling this method. Otherwise an exception will be thrown.
| |
| GetOpenedProjectList |
Gives an array of currently opened project file names.
| |
| GetProcessID |
Returns the thread ID.
| |
| GetProject |
Returns an opened project with the specified file name.
If there is no such project, an exception is thrown.
| |
| GetWindowHandle |
Returns the main window handle.
| |
| HideWindow |
Hides the main application window. Does nothing if it already hidden.
| |
| InitializeSimulation |
Starts initialization steps of the simulation, in particular performs geometry preprocessing.
It is has to be called before calling GenerateMesh(IProject) and Simulate(IProject).
| |
| OpenProject |
Opens a project stored in a file.
| |
| Release |
Releases connection to the COM server.
| |
| SaveActiveProjectAs |
Saves the active project to a file with the specified file name.
| |
| ShowNormalWindow |
Shows the main application window in normal state with the specified position and dimensions.
Does nothing if it already visible.
| |
| ShowWindow |
Shows the main application window in the specified state.
Does nothing if it already visible.
| |
| Simulate |
Starts solving stage of the simulation. InitializeSimulation(IProject) and GenerateMesh(IProject) must be called prior
to calling this method. Otherwise an exception will be thrown.
| |
| StartOptimization |
Starts optimization asynchronously. Control is returned immediately.
Monitor IsJobRunning property to get indication whether the optimization
has finished.
| |
| StartSimulation |
Starts simulation asynchronously. Control is returned immediately, thus caution should be
exercised when trying to get simulation results while simulation is still running.
Monitor IsJobRunning property to get indication whether the simulation
has finished.
| |
| StartTuning |
Starts tuning asynchronously. Control is returned immediately, thus caution should be
exercised when trying to apply new variable values while simulation is still running.
Monitor IsJobRunning property to get indication whether the simulation
has finished.
| |
| StopSimulation |
Signals the application to stop the ongoing simulation. Control can be returned before
the simulation actually stops. Monitor IsJobRunning
property to get indication whether the simulation has finished.
|