TOPs and Python who should be responsible for what?

   2526   1   1
User Avatar
Member
5 posts
Joined: May 2021
Offline
Hello everyone, Learner here

I started off building a pipeline in python where one HDA would talk to the next and they would feed each other inputs to complete their tasks.
Now I would like to rebuild it all using TOPs, I think.
The problem that I'm encountering is that I can't execute my python anymore, I have tried "pressing the button" from TOPs and having the python sit in the python module of the HDA, I have tried having a python node, I have tried having a script node pointing towards my python node. But TOPs never seem to want to execute the script

I feel like I might get something fundamental wrong, is this the right way to think about TOPs and python in Houdini? Should the python(which mainly creates and edits nodes)sit inside TOPs itself? or in the HDA? or in a node?
Edited by InternetFelix - June 10, 2021 04:11:49
User Avatar
Member
5 posts
Joined: May 2021
Offline
So after some digging I have discovered that my python did have some errors due to some paths being faulty when the HDA gets cooked. One can apparently see the result of the cook by clicking the "Save Debug .hip File" and in there, one can see the true python errors. So the path is now solved, the next problem is that the cooked HDA does not allow editing which means that python can't create nodes within the HDA
  • Quick Links