hm_ce_generatenamefrominclude

Returns a name using a base name and connector include ID.

Syntax

hm_ce_generatenamefrominclude id base_name

Type

HyperMesh Tcl Query Command

Description

Returns a name using a base name and connector include ID.

This returns a string like <base_name>_inc<ID> where ID is the include ID of the connector.

Inputs

id
The ID of the connector to query.
base_name
The base name to append.

Examples

To generate a name for connector 2 and the base "hexa_comp":

hm_ce_generatenamefrominclude 2 "hexa_comp"

Errors

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

Version History

2021