You can use the Script adapter to create new parameters. In addition, you can use the following in your scripts:
The following parameter types are used by the Script adapter:
Your scripts are run when you run the simulation process that contains the Script adapter. When the script is running, it cannot change the parameter type. You write your script in the upper portion of the editor. The lower portion lists the existing parameters from other adapters in the simulation process along with parameters you have created. The list includes those parameters that can be meaningfully mapped to the Script adapter based on where they are in the simulation process, their mode, and whether there already exists a parameter with the same name in the Script adapter. To make the script easier to read, parameters appear in blue text. |