Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

This function is used in Python Scripting.

Description

Removes multiple tags from Ignition with a single call.

Client Permission Restrictions

Permission Type: Tag Editing

Client access to this scripting function is blocked to users that do not meet the role/zone requirements for the above permission type. This function is unaffected when run in the Gateway scope.

Syntax

system.tag.removeTags(tagPaths)

  • Parameters

String[] tagPaths - An array of the paths to the tags you want to remove. 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. Note that an empty path ( [''] ) will remove all tags.

  • Returns

nothing

  • Scope

All

Code Examples
Code Snippet
 system.tag.removeTags(["Tag1", "Tag2"])
  • No labels