hgtrans control SaveConfig

Saves the current configuration to a file.

Syntax

hgtrans control SaveConfig filename

Application

HyperGraphTrans Tcl Modify

Description

This command saves the current configuration to a file as a set of Tcl statements which can later be read back in.

Inputs

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

Example

Set up hgtrans to read everything from a MADYMO file called “ANGACC” and save it to “ANGACC.abf”, then write the configuration to a file called “confg.tcl”.
hgtrans control SetFile "ANGACC"
hgtrans control SetOutputFile "ANGACC.abf"
hgtrans config SetAllChannelsSelected
hgtrans control SaveConfig "config.tcl"

Errors

None.

Keywords

write configuration file