Script manager¶
Script Manager Overview¶
The script Manager offers the possibility for users to write their own scripts and thereby create customised functionality using MIKE Workbench Application Interfaces to other Managers and Tools. With scripting it is possible to create customised workflow processes, tailored to specific needs.
Scripts can be organized in a logical folder structure, and when opening the Script Manager for the first time it will show only the root node. From this it is possible to create a folder structure, similar to folders on disk into which the scripts are placed.
The scripting language in MIKE Workbench is Python and is implemented in two flavors.
IronPython is a Microsoft .NET implementation of the Python scripting language. See more at python.org and ironpython.net for documentation on the scripting language and samples of code.
CPython is using Python.NET, a package that gives Python programmers nearly seamless integration with the .NET Common Language Runtime (CLR) and provides a powerful application scripting tool for .NET developers. It allows Python code to interact with the CLR and may also be used to embed Python into a .NET application. See more at github.com/pythonnet or pythonnet.github.io