How could I control which study cases are evaluated by a DPL script?


There are different possibilities to control which study case should be evaluated.
The first possibility would be to use a general set (SetSelect) and evaluate this set via the SEL object in \pf. To learn more about SEL, refer to the User Manual chapter "Accessing the General Selection".

The other possibility is to use the description page of the study case to give the DPL script the information if the case should be processed or not. In this case is an XML style used for the information. This style enables DPL to read the data directly via the GetUserAttribute command.

A study case is evaluated if the "Do" variable is "1":

<Attribute Name="Do" Type="int">1</>

To evaluate all study cases, refer to How can I execute a calculation command in all the study cases?