Node Customizations
- Right-click on a workspace node
- On the shortcut menu select Customize Outputs to display the Node Customizations dialog box
- Use these options to record or write scripts to customize output graphs and spreadsheets. You can assign the recorded macros to particular outputs, to be executed every time that node runs and the output is produced.
You may want to customize a graph by changing the font on the title or changing the plot markers or colors, etc. Similarly, you may want to change the display format of a variable in a spreadsheet, change the name of a variable, or highlight cells with values greater than some threshold.
By Node
When you select this option button, the tree in the top pane contains all nodes in the workspace, as well as a marker for [All Nodes].
- Each node item contains markers for [All Graph Outputs] or [All Spreadsheet Outputs] as applicable, as well as all of the outputs that the node produces.
- Each output item contains all of the scripts, if any, that have been assigned to run against that output.
- The Scripts list in the bottom pane shows all of the scripts that exist in this workspace and are available to apply to node outputs.
In order to apply a script to an output, drag it from the Scripts list to the tree and drop it on the desired output or marker such as [All Graph Outputs].
To control the order of execution of scripts assigned to a particular output, drag the scripts in the tree to rearrange the order.
You can also assign a script to run against [All Graph Outputs] of [All Nodes]. Overall order of execution is scripts assigned to [All Nodes] in the user-defined order, followed by scripts assigned to an [All Outputs] tag of a node in the user-defined order, followed by all scripts assigned to the particular output, in the user-defined order.
Record Customization Script
-
- Click this button to customize the output document.
A macro will be recorded as you make changes, and when you finish, a script will be added to the workspace and attached to the selected output in the tree. Once saved, this script will be executed against this output every time the node executes.
If you select a previously recorded macro and click this button, it will record another customization macro and merge it with the selected macro.
- Click this button to customize the output document.
Execute Node
Select a node and click this button to execute that node and update its outputs in the tree.
This may be needed prior to performing other operations that require the output to exist, such as View Output Document, Record Customization Script, etc.
Add/Edit Filter
Filters make it possible for you to apply a script only to outputs whose titles match a pattern or rule.
Rename Output
When any output is selected, this button can be selected to display a Rename Output dialog box, where you can enter a new name and select the OK button to rename the report document.