hm_historyscriptunsupportedtofile

Writes out to files a summary of the unsupported commands contained inside .tcl script files.

Syntax

hm_historyscriptunsupportedtofile input_file output_dir

Type

HyperMesh Tcl Query Command

Description

Writes out to files a summary of the unsupported commands contained inside .tcl script files. An individual file or an entire directory (including its children) can be specified.

The output files have the same name as the input .tcl files but with a .txt extension, and are written with the same directory structure as the input files.

Inputs

input_file
The full name and path of the input .tcl file, or input directory.
output_dir
The full path of the directory where the output files will be written.

Examples

To write out the list of unsupported commands for test.tcl in C:\temp to C:\output:

hm_historyscriptunsupportedtofile C:/temp/test.tcl C:/output

To write out the list of unsupported commands for all .tcl files in C:\temp to C:\output:

hm_historyscriptunsupportedtofile C:/temp C:/output

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

14.0