::hwat::utils::CreateEntitySet - Creates an entity set in HM.
::hwat::utils::CreateEntitySet name type {entityids}
name |
A name for the entity set. |
type |
The type of the entity. |
entityids |
Tcl list of IDs of entities to be included in the set. |
The ID of the entityset if successful, {} if unsuccessful.
::hwat::utils::CreateEntitySet "Set1" components [list 1 2 3 4 5 6]
Caller should make sure that the name is unique per HM session before calling. Non-unique names will result in an error.