hm_exportoptimizationcards

Exports a Radioss optimization file.

Syntax

hm_exportoptimizationcards type filename export_template

Type

HyperMesh Tcl Query

Description

Exports a Radioss optimization file.

Inputs

type
The type of file to write:
1 - Export optimization file only
filename
The full path and filename of the output optimization file (*.radopt). Paths with spaces must be enclosed in quotes.
This can also be the starter file name, or the engine file name. The optimization file name is derived from this name.
export_template
The full path and filename of the optimization export template. Paths with spaces must be enclosed in quotes.

Examples

To export the optimization file, deriving the name from the model file C:/my_files/model_0000.rad:

hm_exportoptimizationcards 1 "C:/my_files/model_0000.rad" "[hm_info -appinfo SPECIFIEDPATH TEMPLATES_DIR]/feoutput/radioss/optientities.blk"

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

2019