GX to set a colour ramp

Hi!
I have some ITRs that I am repetitively setting to a map in line with some daily work I am performing. Is there a GX that I can add in to my gridding script that can automate this process? 

I've had a look at various help documents etc and have come up with no answers so thought I'd ask here!