Highlight element by keynote

Hi everyone, sorry for my English is not my first language. I hope you can help me with this. I usually do manually by lines, a highlight for wall finishes, but now I do bigger projects and this is getting very difficult, so I thought that a dynamo script could help! So basically what I want to do is a script that recognizes the keynote from the painting that I used and take that information into a kind of list or table and add manually a color. If you look at the image, for example I want the user to assign the color red or any other color for the material “cemento muro gris” and maybe blue for “teja”. Please tell me if this is possible or any other suggestions to do it I will appreciate it, thank you! in the right is the result that I want to get :slight_smile:

hello, here is a possible lead

cordially
christian.stan