::hwat::utils::GetTag
Get tag ID.
Syntax
GetTag str_entType n_entID {str_tagName}
Arguments
- str_entType
- The type of the entity to which the tag is attached.
- n_entID
- The ID of the entity to which the tag is attached.
- str_tagName
- Name of the tag to get.
Returns
- Success
- Tag ID.
- Failure
- {}
Example
::hwat::utils::GetTag node 567 old_tag
Comments
If str_tagName is not given, and more than one tag exists, a list of all matching tag IDs will be returned.