j00ey Posted March 17, 2022 Share Posted March 17, 2022 (edited) I'm trying to write a script to set some scene viewer display options for use in a specific desktop and I can't figure out how to switch off display of cameras and lights. I also want to switch off the ortho grid but I'm guessing once I've found the cameras and lights settings I'll find the other options too... I tried this but it's telling me my viewport isn't a scene graph view, I think it's perhaps a LOPs thing... front_pane = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer, 1) front_pane.setShowLights(0) I've also looked around here but no joy... front_pane_view = front_pane.curViewport() front_pane_settings = front_pane_view.settings() Can anyone help? Many thanks in advance.. Edited March 17, 2022 by j00ey Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.