hm_getcollectorname

Returns the name of a collector.

Syntax

hm_getcollectorname entity_type id

Type

HyperMesh Tcl Query

Description

Returns the name of a collector.

Inputs

entity_type
The type of entity to query. Currently supported for all collector entity types.
id
The ID of the collector.

Example

To get the name of the component with ID 100:

hm_getcollectorname comps 100

Errors

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