Tobias Van Sautter
TobiasVanSautter
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Reforce / Renew a script in Houdini and make nodes time dependent Sept. 2, 2016, 6:59 a.m.
Okay it works with the Import Only, but it still references the same Solver Variable as before, so id doesnt work with the solver Operator..
How can I change / reset a global Variable inside a Module (HDA Module)?
At the moment i reference a solver variable in the code area (of the HDA) like this:
solver = hou.phm().iisolver
In the Module the iisolver is defined like this:
iisolver = SphSolver(fps)
How can I create a methode i can trigger by a button, that resets the iisolver or makes a new iisolver??
Thank you for your help!
How can I change / reset a global Variable inside a Module (HDA Module)?
At the moment i reference a solver variable in the code area (of the HDA) like this:
solver = hou.phm().iisolver
In the Module the iisolver is defined like this:
iisolver = SphSolver(fps)
How can I create a methode i can trigger by a button, that resets the iisolver or makes a new iisolver??
Thank you for your help!
Reforce / Renew a script in Houdini and make nodes time dependent Sept. 1, 2016, 12:04 p.m.
Okay guys I got it.. I made a new function in the Python Module:
and execute it via a Buttoncallback. It just cooks the frame at the moment, so it has to read the script again… It works with the import Operator, now i just need to try it with my Solver Operator
))
Edit Patar:
Thank you for the answers, the thing is it works at the moment, but that would be an enormous workload.
I have to finish in 2 Weeks, so no more testing ;(
force = True def forceRead(): hou.Node.cook(hou.pwd(), force, (hou.frame(),hou.frame()))
and execute it via a Buttoncallback. It just cooks the frame at the moment, so it has to read the script again… It works with the import Operator, now i just need to try it with my Solver Operator
))
Edit Patar:
Thank you for the answers, the thing is it works at the moment, but that would be an enormous workload.
I have to finish in 2 Weeks, so no more testing ;(
Reforce / Renew a script in Houdini and make nodes time dependent Sept. 1, 2016, 11:37 a.m.
Puh where to start.
I'm writing my Bachelor Thesis about Integrating and already working C++ SPH Fluid Solver in Houdini. The Solver itself works external and is written by one of the guys here.
So I “just” need to feed this solver the information he needs. That I'm doing via Python and HDA's in Houdini.
The solver itself works okay right now, I just need to fix some issues, that the HDA Plugin can work properly.
One of the problems is (like written 3 times before):
- I need to reset the scripts externally (best with some button or something that i can integrate in the Plug-In HDA GUI).
Because I define the Solver 1 Time at the start. If i want to reset the simulation, i have to “re-define” the Solver. That I'm doing at the moment with opening the HDA properties and accept them. (Like a force re-read of the script).
Thats shitty, i dont want people to open the HDA and have such a workflow. They just should plug in a geo (in Szene Level), change some parameters and let it simulate.
My english and writing style is pretty shitty too, i know. Best to read it slowly
I'm writing my Bachelor Thesis about Integrating and already working C++ SPH Fluid Solver in Houdini. The Solver itself works external and is written by one of the guys here.
So I “just” need to feed this solver the information he needs. That I'm doing via Python and HDA's in Houdini.
The solver itself works okay right now, I just need to fix some issues, that the HDA Plugin can work properly.
One of the problems is (like written 3 times before):
- I need to reset the scripts externally (best with some button or something that i can integrate in the Plug-In HDA GUI).
Because I define the Solver 1 Time at the start. If i want to reset the simulation, i have to “re-define” the Solver. That I'm doing at the moment with opening the HDA properties and accept them. (Like a force re-read of the script).
Thats shitty, i dont want people to open the HDA and have such a workflow. They just should plug in a geo (in Szene Level), change some parameters and let it simulate.
My english and writing style is pretty shitty too, i know. Best to read it slowly