hm_getentitytypes

Returns a list of entity types based on the specified option.

Syntax

hm_getentitytypes option

Type

HyperMesh Tcl Query

Description

Returns a list of entity types based on the specified option.

Inputs

option
The type of entity types to return. Valid values are:
all - all entity types are returned
named - only named entity types are returned

Example

To get the named entity types:

hm_getentitytypes named

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}