Archived post by whiteg90

In case anyone finds this helpful — I made a quick shelf button for myself to set sticky note text color to the current note color and then hide the background because I don’t like having big rectangle notes around if I just want to briefly describe and color coordinate things. Here’s an example screenshot. You can just drop this in a python shelf button, could even assign it a hotkey. I guess I was also modifying the color a bit in HSV – can’t remember why, but you could modify that too
“` selected_sticky_notes = [ item for item in hou.selectedItems() if isinstance(item, hou.StickyNote) ] for sticky_note in selected_sticky_notes:
#Get current note color in hsv note_color_hsv = sticky_note.color().hsv()
#Create text color from note color text_color = hou.Color() text_color.setHSV((note_color_hsv[0], note_color_hsv[1]*0.85, note_color_hsv[2]*1.15))
sticky_note.setTextColor(text_color) sticky_note.setDrawBackground(0) “`

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/20243305/30/24/image.png