::hwat::utils::CreateEntitySet

Creates an entity set in HyperMesh

Syntax

::hwat::utils::CreateEntitySet name type {entityids}

Arguments

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.

Returns

Success
The ID of the entity set
Failure
{}

Example

::hwat::utils::CreateEntitySet "Set1" components [list 1 2 3 4 5 6]

Comments

Caller should make sure that the name is unique per HyperMesh session before calling. Non-unique names will result in an error.