Runtime/Behavior Changes

The parameters used to control stretching behavior for CmSym models have been changed. Previously the stretch operation took two parameters as input:

  • stretchingEP (bool)
  • wantedLength (double)

This works well for most scenarios but if you change the stretchingEP parameter between different stretch operations you were forced to keep track of how much you stretched in each direction by yourself. To overcome this we have replaced the stretchingEP param with a new param called spOffset. This means that we now use the following two parameters to control the stretch operation:

  • spOffset (double)
  • wantedLength (double)

This means that we from now on always "right stretch" first (stretch the end point of the measure) and then adjust everything stretched by applying an offset - spOffset. If spOffset if positive "everything" will move in the sp -> ep direction. If spOffset is negative "everything" will move in the ep -> sp direction. This gives us two benefits:

  • It means that we always can reproduce the same stretch result by applying these parameters.
  • We can stretch both the starting point and the end point of the measure in a single operation (for instance center stretch).

Note A: Old CmSym files with stretching behavior will continue to function and you may still change the stretchingEP param for these old CmSym files.

Note B: If you import an old CmSym file, with stretching already defined, to Model Lab the old stretch programs will be translated to the new spOffset approach. So if you for some reason want to change an old CmSym model with stretch beavior already defined you must adapt the new way of controlling the stretch operation.