hgtrans control SetCompressionLevel

Sets the compression level for all data channels.

Syntax

hgtrans control SetCompressionLevellevel

Application

HyperGraphTrans Tcl Modify

Description

This command sets the lossless compression level used when writing data channels to the output file. By default, the level is set to “high,” the maximum, which is slower but provides the best compression.

Inputs

level
Level can be any of the following:
none
Causes the output to be written in uncompressed form.
low
medium
Gives the best trade-off between size and speed.
high

Example

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

Error

None.

Keywords

set compression level