Scripted profiles follow the same pattern as schedules, compact and free form profiles. The profiles are first defined in APpro. Once registered in the <VE> project the profiles can be assigned to define or control values in the <VE> model.
The previous sections of this document describe how scripted profiles can be defined in terms of the Python code. This section details the two routes for including scripted profiles within your <VE> project using APpro.
1. Importing a scripted profile package.
2. Creating a new scripted profile package and importing Python files directly.
The python source used to define a scripted profile, or collection of scripted profiles, are combined to form a Scripted Profile Package. The packages, or SPPs are associated with the project to capture the scripted profile behaviour. When a simulation is launched, Apache will read all the files within an SPP and execute the Python of any profiles referenced by the model.
The contents of 15.9. Working With Scripted Profiles in APpro