::hwat::utils::RenameEntity

Renames entity collectors of given ID and type.

Syntax

::hwat::utils::RenameEntity n_entityID str_entityNewName str_entityType

Arguments

n_entityID
HyperMesh ID of the entity being renamed.
str_entityNewName
New name to be assigned to the entity.
str_entityType
Type of collector ("comps", "assems").

Returns

Success
New name.
Failure
{}

Example

::hwat::utils::RenameEntity  903 myStuff comps

Comments

If the new name is already taken, the code will return the failure and take no action.