Shamanek Posted October 19 Share Posted October 19 Hi guys, In Solaris viewport I am using payloads masks a lot and there is not possible to bind that to a shortcut so I was wondering that maybe, I could write a simple script that does that. I am talking about this toggle in the picture (Populate all primitives in the viewport) However, I am struggling a lot to make it work. It's not documented much but I believe it is this class that should do it. But how to use that? Does anyone know, please? https://www.sidefx.com/docs/houdini/hom/hou/LopViewportLoadMasks.html I've tried to do this but it gives me nothing. Not even an error. import hou hou.LopViewportLoadMasks().setPopulateAll() Also, I’ve tried to do this hou.LopViewportLoadMasks().dumps() which gives me information about the scene but it’s not true. It stays the same no matter what I change in the scene graph tree (primitives visibility). Am I missing something here? Maybe a connection to the lop stage? Looks like the script returns just some default values. 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.