User Tools

Site Tools


01_user_documentation:04_modeling:03_rgg_modeling:02_console

XL-Console

The XL-Console in GroIMP provides a way to interact directly with the RGG model during runtime. It allows the evaluation of expressions without recompiling the entire model, which can be helpful for analyzing or manipulating the model during a simulation.

Commands entered in the XL-Console are evaluated in the context of the currently loaded model. However, the console operates *outside* of the RGG class structure, meaning it does not have implicit access to members defined within the 'Model' class. For example, accessing a module 'A' requires the fully qualified form 'Model.A'. Attempting to access 'A' without the class prefix results in an error, as the console cannot resolve it in its own scope.

The console maintains a history pane on the right-hand side, listing recently entered commands.

The XL-Console is tightly coupled with the runtime state of the model. When a public method from the RGG toolbar is executed, the resulting changes to the model are immediately reflected in subsequent console evaluations.

01_user_documentation/04_modeling/03_rgg_modeling/02_console.txt · Last modified: 2025/08/19 14:46 by gaetan