Set Sketch Color

Hello,

     Is there a way to automate the modification of lines on sketch just like on the attached file?

     I right clicked the sketch the selected the Sketch Color.

     I tried recording macro but there's no code for this one.

     I also tried finding something like SetSketchColor function of the Sketch:: class but no luck.

     I just want to know if there are other ways to do this.

     Thanks!

Best Regads,

J.Torres

SolidworksApi macros