system.tag.configure(basePath, tags, [collisionPolicy])
String basePath - The starting point where the new tags will be created. When making changes to existing tags with this function, you want to set the path to the parent folder of the existing tag(s), not the tag(s) themselves.
Any tags - A list of tag definitions, where each tag definition is a Python dictionary. Alternatively, a JSON source string may be passed to this parameter. When editing existing tags, it is generally easier to retrieve the tag configurations with system.tag.getConfiguration, modify the results of the getConfiguration call, and then write the new configuration to the parent folder of the existing tag(s).
String collisionPolicy - The action to take when a Tag or folder with the same path and name is encountered. Defaults to Overwrite. [optional]. Possible values include:
- a - Abort and throw an exception
- o - Overwrite and replace existing tag's configuration
- i - Ignore that item in the list.
- m - MergeOverwrite, modifying values that are specified in the definition, without impacting values that aren't defined in the definition. Use this when you want to apply a slight change to tags, without having to build a complete configuration object.
List - A List of QualityCode objects, one for each tag in the list, that is representative of the result of the operation. See Scripting Object Reference.
Gateway, Vision Client, Perspective Session