Parm Execute DAT
Summary
The Parm Execute DAT runs the script connected to its input when a parameter of any node changes state. There are 4 ways a parameter can trigger the script: if its value, expression, export, or enable state changes.
Put the command echo $args in the script to show what values are passed to the script from the panel.
-
arg0path of the Parm Execute DAT - ...
Parameters
Execute From /executeloc - Determines the location the script is run from.
- Current Node
/current- The script is executed from the current node location (for example, where 'cc' points to). - This Node
/here- The script is executed from the parent of the DAT. The DAT executes from the parent to make siblings of the DAT easy to access: DAT scripts used to execute from inside the DAT. - Specified Component
/comp- The script is executed from the component specified in the Componentparameter below.
From Component /component - This component is also the path that the script will be executed from if the Execute From parameter is set to Specified Component.
OP /op - Specify which operator the triggering parameter belongs to.
Parameter /parm - Specify which parameter to monitor for triggering the script.
On Value Change /cvalue - The script runs whenever the specified parameter's value changes.
On Expression Change /cexpression - The script runs whenever the specified parameter's expression changes. For example, changing the expression from $F to $T will trigger the script.
On Export Change /cexport - The script runs if the export path to the specified parameter changes. For example, if the parameter is being exported to from /chopname/chan1 and that is changed so /chopname2/chan2 is now exporting to it, then the script will be triggered.
On Enable Change /cenable - The script runs if the specified parameter goes from being disabled to enabled.
| ||||||||||||||
