How to turn off Solaris' default loading of payloads

   2249   2   2
User Avatar
Member
78 posts
Joined: May 2018
Offline
When working with big scenes, it is nice to only load in what you want to see.

I know about the visibility drop-down on the Scene Graph Tree. Checking off the “Load Payloads” and then manually loading the ones I am interested in does exactly what I need, however for some automated workloads I would like to turn this off and then choose which payloads get loaded via code. Any ideas?
User Avatar
Staff
4435 posts
Joined: July 2005
Offline
Have a look at the hou.LopViewportLoadMasks object returned by hou.LopNetwork.viewportLoadMasks. Everything that you can do in the scene graph tree can also be done with those HOM classes.
User Avatar
Member
78 posts
Joined: May 2018
Offline
Thanks. This looks exactly like what I was searching for.
  • Quick Links