Description:
Application is a central COM object of OptiY. within any further data and structure of the project can be accessed. It represents the program instance.
Properties:
Visible |
True = OptiY will be visible False = OptiY will be not visible |
Interactive |
True = OptiY will display all error messages False = OptiY will not display any error message |
FileName (ReadOnly) | Return the name of the actual file (e.g. for the file "C:\Modell\Magnet.opy", it will return "Magnet") |
FilePathName (ReadOnly) | Return the total file name of the actual project (e.g. "C:\Modell\Magnet.opy") |
FilePath (ReadOnly) | Return the file path of the actual project (e.g. "C:\Modell") |
SystemPath (ReadOnly) | Return the starting directory of the file "OptiY.exe" (e.g. "C:\Program Files\OptiY Software\OptiY 4.0") |
ScriptLanguage |
Scripting-Language of OptiY 0 = Visual Basic .Net 1 = C# .Net |
License (ReadOnly) |
License of OptiY 0 = Trial Edition 1 = Student Edition 2 = Data-Mining Edition 3 = Entry Edition 4 = Professional Edition |
DeclarationScript | The script for declaration for the project. It is valid for all experiments |
StartUpIndex | The index of the startup experiment of the project. |
IsOK() | The optimization process has been succeed or not? |
Methods:
New() | Close the actual file and open a new and empty project. |
Open(String FilePathName) | Close the actual file and open the given file (FilePathName contains full directory name. e.g "C:\Modell\Magnet.opy") |
Save() | Save the actual file with its given name |
SaveAs(String FilePathName) | Save the actual file as the file with the name FilePathName |
Quit() | Exit OptiY |
Start() | Start the optimization process of the startup experiment |
Stop() | Stop the optimization process of the startup experiment |
Reset() | Delete all optimization results of the startup experiment and reset the experiment in initial state |
Continue() | Continue the stopped optimization process of the startup experiment |
IsRunning() | The actual optimization is running or not? |
StartUpExperiment() | Return the Experiment-object of the startup experiment of the project. |
Experiment(Variant Index) | Return the Experiment-object with the index as name or the forthcoming number (1,2...) of the experiment. |
Experiments() | Return the Experiments-object of the project. It is a collection of all experiments of the project. |
NewExperiment() | Add a new experiment in the project and return its Experiment-object |
DeleteExperiment(String Name) | Delete the experiment with the name |
ResetScript() | Reset the intern script code data to empty |
AddReference(String Name) | Add reference to the script code |
AddImport(String Name) | Add an import to the script code |
Users() | Return Users-object. It is collection of user-objects for for all experiments of the project |
UserExActive() | Return the active UserEx-object which just calling the extern scripting engine. |