I naively thought something basic such as this would work as I can return the current overrides list and clear them as described here https://www.sidefx.com/forum/topic/86934/?page=1#post-375436 [www.sidefx.com]
s = hou.node('/stage') db = s.dataBlock('MyOvers.overrides')) s.setDataBlock('MyNewOvers', db, None)
This is in 19.5 and I notice there might be different using usd layers https://www.sidefx.com/docs/houdini/hom/hou/LopNetwork.html#viewportOverrides [www.sidefx.com]
n = hou.node('/stage') with n.viewportOverrides(hou.node('/stage/cube1')) as oo: oo.layer().Export('test.usda')
I may be missing a vital bit of info but I don't get any result with is either and I noted there is an explanation in the doc that
This layer does not include opinions set using built in Houdini panels.
Is there any other way to save the Scene Graph panel overrides?