CS-Script

With the C# scripting tools you have full access to the DesignBuilder API, model data attributes, data tables, results etc and you can write scripts that will be executed at key hook points in the program execution such as before and after E+ simulations. This can be useful for pre-processing the model, the IDF file or post-processing results to create custom variations in software behaviour.

Tip: The Extensibility Tools User Guide is the main source of help for scripts, plugin development and the API.

One of the most common reasons to use scripts is to create custom design variables or KPIs for optimisations and some examples of how to do this can be found in the Optimisation Tutorials section:

 

Optimisation Tutorial - Custom Script Variable

Optimisation Tutorial - Custom Script KPI Example 2 - Reading the EUI KPI Using EpNet (C#) and eppy (Python)

 

See also: