Manage dwg layer in revit with dynamo

I have some dwg in a file revit, and i want manage their thickness layer in object styles with dynamo.

I created an excell file where I wrote the name, thickness and color of the layers, but at this point I can not go on.
Can someone help me?