This script will create a P2D data file, which contains two-port large-signal S-parameters generated as a function of a swept input power and possibly one other variable, from a design in the AWR Design Environment. You must have a schematic with at least two ports for the script to run. When you run the script you will get the dialog below.
Fill in the proper settings to choose the schematic, set power levels, etc. When the settings are correct, click the Generate P2D button. The settings on the dialog are largely self-explanatory, with the possible exception of the following:
Clean up on exit: The script will generate several new schematics and graphs to collect up the data needed. With this option selected, those schematics and graphs will be deleted when the script is exited.