User Tools

Site Tools


01_user_documentation:04_modeling:03_rgg_modeling:02_console

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
01_user_documentation:04_modeling:03_rgg_modeling:02_console [2025/05/28 16:24] sophiewachtel01_user_documentation:04_modeling:03_rgg_modeling:02_console [2025/08/19 14:46] (current) gaetan
Line 3: Line 3:
  
 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. 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.
 +
 +
 +====== ======
 +
 +{{:01_user_documentation:03_interacting_with_groimp:02_panels:02_rgg:xl_console.png?400|}}
  
 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. 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.
Line 10: Line 15:
 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. 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.1748442251.txt.gz · Last modified: 2025/05/28 16:24 by sophiewachtel