first topic in this community, i asked the same question in odforce but nobody gave me an answer in a week.
So I'm implementing a extern solver framework in Houdini via Python.
The solver itself is packed as a SOP HDA, all attirubtes set and the actual simulation happens inside the HDA in another SOP HDA. The solver gets a geometries points, instances them, resolves them and sets the points new, so thats what happens mainly inside the HDA.
So i got two problems:
1. How can I renew a Script? The actual solvers simulation happens in the code area of the HDA inside. For that the code area gets an instance solver from the python module from the hda.
That means if I want to change or renew the solver I have to dive inside the node and accept it in the properties window, so it resets the solver.
Same goes for my node which instances the points of the geometry i want to simulate (the node is the actual input for the solver). If I want to load another geometry, i have to plug in the new geometry, have to dive inside the import Node and accept it (like the solver node), so the script resets and gets the new points.
2. At the moment I set a node time dependent like that:
hou.setFrame(hou.frame())
but I have the feeling it slows the actual simulation and isnt nice to read.
I hope you have some answers and that my german english is understandable
Thank you!



If questions themselves are not clear, then it's probably going to be skipped over.