hgtrans control SetTimeScaleFactor

Sets the scale factor for all time channels.

Syntax

hgtrans control SetTimeScaleFactor value

Application

HyperGraphTrans Tcl Modify

Description

This command sets the scale factor that is applied to time channels. By default, the factor is one.

Inputs

value
Value must be a positive, non-zero number.

Example

Cause hgtrans to read everything from a MADYMO file called “ANGACC” and save it to “ANGACC.abf”, scaling the time channel by one thousand.
hgtrans control SetFile “ANGACC”
hgtrans control SetOutputFile “ANGACC.abf”
hgtrans config SetAllChannelsSelected
hgtrans control SetTimeScaleFactor 1000
hgtrans control StartTranslation

Errors

None.

Keywords

set time scale factor