# Script Dialog

This dialog is displayed when you select the 'Script' property for a User-Defined Generic component element. (This property is only available when 'GetPressureLoss Script' is selected as the 'Defining Equation' for the component.) The GetPressureLoss Script is executed to determine the Pressure Loss associated with a User-Defined Generic node and is used then throughout the network solver engine for that node. Used in conjunction with User-Defined Fields, this is a powerful tool to write your own calculations. Toolbar Buttons Load - Load a Pascal Scripting (.PSC) file's contents to use in the scripting window. Save - Save the contents of the scripting windows to a .PSC file.