Group Polyline
This command creates one set of polylines containing all selected polylines and set of polylines.
Select all the polylines or set of polylines you want to group and launch the command.
To recreate exploded parts from a set of polylines, you just need to select it and to use the command Ungroup Polyline.