hm_gethmfileversion

Returns the binary file version string for a specified HyperMesh database.

Syntax

hm_gethmfileversion filename

Type

HyperMesh Tcl Query Command

Description

Returns the binary file version string for a specified HyperMesh database. The string is comprised of 2 parts, major-minor, where:
  • major is the major file version. It is itself comprised of two parts, release.binary.
  • minor is the minor file version.

    For example: 13.02-110

Inputs

filename
The full path and filename of the database file. Paths with spaces must be enclosed in quotes.

Example

To get the file version for C:\temp\test.hm:
hm_gethmfileversion  C:/temp/test.hm

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

13.0.110