You want to display a scale in between two items, and this shall be possible for each item, so up to 7 scales shall be displayed, is that correct? If so, give this manual a look, please:
https://www.soscisurvey.de/help/doku.php/en:create:dynamic
You may need to insert the items of your main scale individually, using question() with a specific item, each time, for example:
question('AB01', [1], 'spacing=0');
question('DD01', [1], 'spacing=0', 'show-title=no');
question('AB01', [2], 'spacing=0', 'show-title=no');
question('DD01', [2], 'spacing=0', 'show-title=no');
// etc.
You may also want to create a combines question, using show(), to display the additional scale inputs right of the yes/no questions.