Merging layers in Civil 3D

Hello guys,

I am new to Dynamo and would appreciate your help on this. I was wondering how to merge a group of layers in Civil 3D into on single layers and delete the remaining.

Thanks