hm_ce_generatenamefromsubsystem

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

Syntax

hm_ce_generatenamefromsubsystem id base_name

Type

HyperMesh Tcl Query Command

Description

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

This returns a string like <base_name>_ss<ID> where ID is the subsystem 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_generatenamefromsubsystem 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

2020