::hwat::utils::RenameEntity - Renames entity collectors of given ID and type.
::hwat::utils::RenameEntity n_entityID str_entityNewName str_entityType
n_entityID |
HM ID of the entity being renamed. |
str_entityNewName |
New name to be assigned to the entity. |
str_entityType |
Type of collector("comps", "assems"). |
New name on success, {} on failure.
::hwat::utils::RenameEntity 903 myStuff comps
If the new name is already taken, the code will return the failure and take no action.