system.tag.removeTag
This function is used in Python Scripting.
Description
Removes a tag from Ignition.
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.removeTag(tagPath)
Parameters
Type | Parameter | Description |
---|---|---|
String | tagPath | The path to the tag 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. An empty path ( '' ) will remove all tags. |
Returns
Nothing
Scope
All
Code Examples
Example #1
system.tag.removeTag("Tag1")