hgtrans control SetConfigFile

Sets the configuration file name.

Syntax

hgtrans control SetConfigFile filename

Application

HyperGraphTrans Tcl Modify

Description

This command sets the configuration file that will be read prior to beginning translation. This file will be parsed as Tcl.

Inputs

filename
Filename must be the path name of a Tcl file.

Context

Example

Cause hgtrans to read everything from a MADYMO file called “ANGACC” and save it to “ANGACC.abf”.
Create a file called “config.tcl” with the following lines in it:
hgtrans control SetFile “ANGACC”
hgtrans control SetOutputFile “ANGACC.abf”
hgtrans config SetAllChannelsSelected

Then run hgtrans and enter the following commands:
hgtrans control SetConfigFile “config.tcl”
hgtrans control StartTranslation

Errors

An error will be reported during translation if the file is not present or not supported.

Keywords

set compression file