Hi wish,

It's much easier to do this if you open your BIAB song in Realband. Then you can cut and paste if you like or highlight the bars you want regenerated, choose generate then look down in the menu to where it says generate riffs and use that to pick what fits best.

Hope that helps.