::hwat::utils::GetEntityNameFromId

Finds the name of the entity from the ID.

Syntax

::hwat::utils::GetEntityNameFromId str_entityType entityIdList

Arguments

str_entityType
The type of the entity.
entityIdList
A Tcl list of IDs of the entity type.

Returns

Success
A Tcl list of names corresponding to the IDs.
Failure
{}

Example

::hwat::utils::GetEntityNameFromId  "elements" [list 100 1001 1002]