Changing Color Scheme Settings .hcs with python

   211   1   1
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. Thanks!

Attachments:
colorscheme.png (27.8 KB)

User Avatar
Member
11 posts
Joined: Oct. 2020
Offline
This seems to be getting the correct current color scheme, but when setting it even though it prints correctly the UI doesn't seem to change.
color_scheme = hou.getPreference("colors.scheme")
print(color_scheme)
>>> Houdini Dark
hou.setPreference("colors.scheme","Houdini Layout")
print(color_scheme)
>>> Houdini Layout
  • Quick Links