Skip to main content
InSource KnowledgeCenter

TN AppSvr152 Application Server Scripting: Find all attribute names of an object

insource logo large.jpg

 

Description

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)

 

 

Details

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.

 

ShowAllObjectAttributes_ObjectViewer.png