Changing Color Scheme Settings .hcs with python

   311   0   2
User Avatar
Member
11 posts
Joined: Oct. 2020
Offline
Just like the title, is there a way of setting this with python? I've been looking online for a while but cant seem to find any info on this. I was able to find the user pref variables but running this code doesnt seem to affect the UI.

color_scheme = hou.getPreference("colors.scheme")
print(color_scheme)
>>> Houdini Dark
hou.setPreference("colors.scheme","Houdini Layout")
print(color_scheme)
>>> Houdini Layout

Thanks!

Attachments:
colorscheme.png (27.8 KB)

  • Quick Links