Where To Find This Script
AWR Version 12
For version 12.00, Download
Starting in version 12.01, you can run this script by clicking on Scripts->Data->Delete_Unused_Datafiles from AWRDE menu.
AWR Version 12
AWR Version 11
Description
This script will go through a project to find which data files are used and which are not. Used is defined as being used as a subcircuit in a schematic or any soft of measurement on the data file. It will only search for port parameter (touchstone) files, MDIF or Generalized MDIF data files. After it has found all the unused data files, it will present them in a list and ask if you want to remove them, add an underscore to their name, or do nothing. For the underscore, these data files will sort to the top so you could manual remove them later if you wanted to.
Scripting Information
Scripts included in the install are configured to run directly from the NI AWR Design Environment from the Scripts menu.
Scripts that you download must be imported into a project or placed in your global scripts folder to use them. See Working with VB Scripts for information on how to use these scripts.
You can also customize the AWRDE to run scripts from hotkeys, menus, or toolbar buttons. See Working with VB Scripts for more information.
For complete information about the AWRDE API, see the AWRDE API Programming Guide Help in the AWRDE installation. You can also view our Scripting Website for more scripting examples.