HyperWorks Tools

::hwat::utils::GetTag

::hwat::utils::GetTag

Previous topic Next topic No expanding text in this topic  

::hwat::utils::GetTag

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::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

OPTIONAL - Name of the tag to get.

 

RETURNS

Tag ID on success, {} on failure.

 

EXAMPLE

::hwat::utils::GetTag node 567 old_tag

 

Comment

If str_tagName is not given, and more than one tag exists, a list of all matching tag IDs will be returned.

 

See also

::hwat::utils::CreateTag

::hwat::utils::SetTag

Utils Functions