system.tag.getAttribute - Deprecated

Description

Returns an any attribute for a specific tag.

Syntax

system.tag. getAttribute( tagPath, attribute )

  • Parameters

String tagPath - The full path to the tag you want to edit. Note: you can specify the Tag provider name in square brackets at the beginning of the parentPath string. Example: "[myTagProvider]MyTagsFolder". If the tag provider name is left off then the project default provider will be used.

String attribute - The name of a tag attribute. See Tag Attributes for more information.

  • Returns

Object - The value of the attribute.

  • Scope

All

Code Examples
Code Snippet
#Example 1:
expression = system.tag.getAttribute("Tag3", "Expression")
print expression