[Sidefx-houdini-list] hou equivalent of otinuse?

Rangi Sutton rangi.sutton at gmail.com
Fri Feb 13 02:20:10 EST 2009


2009/2/13 Graham Thompson <captainhammy at gmail.com>

> A fair amount of the more complex stuff is roll your own I guess.  Houdini
> gives you the building blocks then you can build it up to whatever you
> want.
>
> What you're looking to do is actually pretty easy.  After you have your
> list
> of HDAs you can just iterate over them (or just do the embedding process in
> the actual loop), grab their definition and do a
> hou.HDADefinition.copyToHDAFile("Embedded").  Voila.  Your asset definition
> is now embedded in your hip file and Houdini should be using the new
> embedded definition.  Of course this will also embed any of the otls that
> ship with Houdini so you can always check the library path from the
> definition to see if it is coming from $HH/otl and if so ignore it assuming
> you don't want to be embedding them as well.
>


Yeah, cool. Thanks. That last bit (grepping out the distribution assets) was
the thing that convinced me I should force myself into python land, since it
needed to be slightly smarter than a few lines of hscript.

Cheers,
r.



More information about the Sidefx-houdini-list mailing list