Method to get default tag property values

Is there a method available to retrieve the default values for all tag properties either within the Python API or the JDK?

IA Devs: for alarm properties there are a couple classes that can be imported which will show the defaults: CommonAlarmProperties and AlarmModeProperties. Is there an similar class for tag properties?

1 Like

Looks like the system.tag.getAttribute( tagPath, attribute ) function returns either the default or overwritten property value.
(even though its deprecated and replaced by

So, Iā€™d just need a list of all available properties.
Though, that list would change depending on the type of tag.

Is there and equivalent of CommonAlarmProperties for tag properties?

Look here:

Try this:

from com.inductiveautomation.ignition.common.sqltags.model import TagProp

for x in TagProp.values():
  print x
1 Like