hgtrans control SetOutputFile

Sets the output file name.

Syntax

hgtrans control SetOutputFile filename

Application

HyperGraphTrans Tcl Modify

Description

This command sets the name of output file that will be used as the target for the translation process. The output file is always written in the Altair Binary Format (ABF). If the file already exists, it will be overwritten.

Inputs

filename
Filename must be the path name of the file to write.

Context

Example

Cause hgtrans to read everything from a MADYMO file called “ANGACC” and save it to “ANGACC.abf”.
hgtrans control SetFile “ANGACC”
hgtrans control SetOutputFile “ANGACC.abf”
hgtrans config SetAllChannelsSelected
hgtrans control StartTranslation

Errors

An error will be reported during translation if the file is not writeable.

Keywords

set output file