Houdini Tool Creation Flow

   2108   2   0
User Avatar
Member
11 posts
Joined: March 2014
Offline
Hi all! I'm making my first non-tutorial shelf tool and I just wanted to ask about the best practices for how to set everything up. It is a similar flow to the Flames tool in the Pyro FX shelf.

So the basic flow of the tool will be this:
User selects a Geometry OBJ
User clicks my shelf tool which does this:
  • An HDA is added on to the end of the SOP network inside the selected OBJ
    Two DOP networks are created at the OBJ level which have parameter references to the HDA

    So my question is, should I be hard coding everything in python other than the HDA? As in, the script content of the tool would be to get the selection, add the HDA onto the end and then create the other (DOP) networks with python code. Or is there some better way to do this? I'm also a little unsure of the best practices in terms of calling in and executing outside scripts vs. just putting the code straight into the tool.

    Thanks!
User Avatar
Member
2624 posts
Joined: Aug. 2006
Offline
Hi,
Your workflow seems logical . I would use the shelf tool to execute your tool and create the HDA nodes.
Your HDA nodes can use python, which is basically going to pull in pre existing houdini hda assets like the solvers and set a few parameters and have an interface. Unless of course you want to make some scratch solvers.

On a side note I often take an existing internal houdini otl and use a shelf tool to set values / paths etc. As taking an existing otl and wrapping it up in your own otl can become a nested mess ! .

Rob
Gone fishing
User Avatar
Member
11 posts
Joined: March 2014
Offline
Thank you for your response! It is great to know I am on a somewhat right path! And thank you for the tip about using existing otls!
  • Quick Links