HyperWorks Tools

::hwat::utils::CreateEntitySet

::hwat::utils::CreateEntitySet

Previous topic Next topic No expanding text in this topic  

::hwat::utils::CreateEntitySet

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

NAME

::hwat::utils::CreateEntitySet - Creates an entity set in HM.

 

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

The ID of the entityset if successful, {} if unsuccessful.

 

EXAMPLE

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

 

Comments

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

 

See also

::hwat::utils::GetUniqueName

Utils Functions