hm_getsolverfileprofilename

Returns the profile name for an FE input file.

Syntax

hm_getsolverfileprofilename filename

Type

HyperMesh Tcl Query Command

Description

Returns the profile name for an FE input file. This is based on the file extension. If the file extension is ambiguous, then it identifies the profile name based on the file extension and the solver format. If the file extension is missing, then it identifies the profile name based only on the solver format.

Inputs

filename
The full path and filename of the FE solver file, enclosed in quotes.

Examples

To get the solver profile name for C:/temp/test.dat:

hm_getsolverfileprofilename "C:/temp/test.dat"

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.1