About built-In layout scripts
- Last UpdatedAug 09, 2024
- 1 minute read
Built-in scripts for layouts are similar in both concept and function to the Predefined Scripts for graphics that can be invoked through the Industrial Graphic Editor. For more information about the graphic built-in scripts, see Predefined graphic script configuration. Built-in scripts are triggered by the state of the layout itself, and do not use an expression or reference.
-
On Show: The script runs one time when the layout opens. You can specify a timeout period for the script in milliseconds to stop the script if a referenced attribute cannot be accessed.
-
While Showing: The script runs at a specified interval (in milliseconds) while the layout is open.
-
On Hide: The script runs one time when the layout closes. There are no configurable trigger parameters.
You can have only one built-in script of each type, for a maximum of three built-in scripts, per layout. See About Built-in scripts for more information.