検索 - User list
Full Version: How to turn off Solaris' default loading of payloads
Root » Solaris and Karma » How to turn off Solaris' default loading of payloads
Ashen
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?
mtucker
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.
Ashen
Thanks. This looks exactly like what I was searching for.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB