Anyone happen to know if you can save the geometry a SOP is generating to file via HOM (same as RMB->'Save Geometry')? I am not finding anything in the docs…
There is a command: hou.Geometry.saveToFile() but it's still not documented yet, not even sure if it works…
You can always use old hscript command: opsave. It saves appropriate data format for a specified operator, so simple: hou.hscript('opsave /obj/geo1/null1') should work.