TN AppSvr152 Application Server Scripting: Find all attribute names of an object
Would like to get a list of all attributes within an object
- Author: Dillon Perera
- Published: 05/29/2015
- Applies to: Wonderware Application Server (IAS)
On all Objects there is a hidden attribute called "_Attributes" which is an array of all the attribute names on an object. You can either view this through ObjectViewer (using -1 to see all array values), or you can use this in a script to loop through them.