hm_getincludename
Returns the include name for the specified include ID.
Syntax
hm_getincludename id name_type
Type
HyperMesh Tcl Query
Description
Returns the include name for the specified include ID.
Inputs
- id
- The ID of the include file.
- name_type
- The type of include name to return. Valid values are:
Examples
To get the short name of the include with ID 1:
hm_getincludename 1 shortname
To get the full name of the include with ID 1:
hm_getincludename 1 fullname
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
10-SA1-120