Hi, nothing is happening because you're actually querying the colorScheme instead of setting it.
So, the correct last line should be :
tview_settings.setColorScheme(hou.viewportColorScheme.Dark)
instead of :
tview_settings.setColorScheme = hou.viewportColorScheme.Dark
(I know that this is an old post, but it's the 1st google result, I'm replying just in case of someone is searching the same thing)
Found 1 posts.
Search results Show results as topic list.
Technical Discussion » How to change viewport color, disable grid from Python
- ScrollLocku_Sama
- 1 posts
- Offline
-
- Quick Links