I was hoping to find people who already use the functions in Houdini which allows to serialize nodes.
I'm currently trying these two functions :
hou.Node.saveItemsToFile() #used to export node from the current Houdini session.
hou.Node.loadItemsToFile() #used to import node in the current Houdini session.
I don't know if it's the same for you, I found the hou.Node.loadItemsFromFile() unstable.
I'm trying to find why Houdini crashes so often but maybe you already have some information about that (I can't tell if it's my nodes which cause that or if it's this function because it's not for the same reason).
I know it's possible to export nodes in a python file thanks to hou.Node.asCode() but I don't think it's a good solution even if it seems to be more stable.
FYI:
- I use Houdini Core 17.0.459
- File is exported in .cpio
- Nodes also containing custom HDA
- I already tried with only a simple node geo
- I run the script in the Python Shell
Thanks
Camelia