RobotStudio event

Path colors

When opening a current station, all of my paths turn back to the default color (grey).  I have many paths in my six robot station.  Very time consuming changing back the color every time I open the station.  Is there a way of maintaining color for the paths.

Thank you,

Bob

Comments

  • The colors set on paths are not saved with the station unfortunately.

    But you can use this macro to give a path of a certain name a specific color, copy paste a row for each path name and then you can just run the macro after opening your station.

    Sub PathColor()
        ActiveStation.Paths("Path1").Color = Array(0, 255, 0)
        ActiveStation.Refresh
    End Sub

    The array on the right hand is red green and blue values from 0 to 255. (So the color above is green for example). These values you can see in if you use the Set color function in RS.