Read Dynamic Animation Tag Name. Read Dynamic Animation Tag Name from a local script assigned to an animation. In DRAW and DrawDAQ in the Dynamic -> Animation box, there is the little used “Advanced” button next to tag name. This assigns a local script to the animation. To enhance the usability of local scripts when they are associated with animation objects, there is the tag: %TTAGLS( found in the DaqTag list. This tag allows a script to get the Tag name of the animation object from the Local Script is associated with the animation using the “Advanced” button in Dynamic -> Animation.
The format [GETVAL @%TTAGLS(0)] to get the values of tagname. The zero level is the current level and most commonly used. To access Tag name of an animation object nth-level up (assuming that we all understand multi-attributes animation in WebAccess), please use %TTAGLS(n), where n is 0, 1, 2, …..
Syntax: %TTAGLS(n)
Security: READ ONLY
Arguments: level number, where n is 0, 1, 2, …..
Example: [GETVAL @%TTAGLS(0)]
Return Values: character string
Text Length: 16
Example returns:
LIC101
ZAT100
See Also: 4.9.3.25.2 %TTAGLSA
For an applied example with Local Tag
File and Local Script file see:
10.5.7 Dynamic Animation Advanced button