Using predefined and named scripts
- Last UpdatedOct 16, 2024
- 1 minute read
You can use the Show/Hide Graphic script functions inside container scripts. Container scripts refers to predefined scripts and named scripts. Predefined scripts include OnShow, WhileShowing, and OnHide. Named scripts include WhileTrue, WhileFalse, OnTrue, OnFalse, and DataChange. For more information, see Predefined and named scripts, Predefined graphic script configuration, and Add named scripts to a graphic.
Although you can use the Show/Hide Graphic script functions inside container scripts, you cannot use ShowGraphic() in WhileTrue or periodic scripts such as WhileShowing.
For an example, see Container script scenario.