[Sidefx-houdini-list] python hython

Simon Kapeniak szymon.kapeniak at gmail.com
Tue Apr 14 05:47:37 EDT 2009


Hi,
you could import hou module at the front of your script thus allowing
standard python session to cooperate with Houdini. Preparing
environment for that purpose tends to be fussy but it's definitely
doable (http://www.sidefx.com/docs/houdini9.5/hom/commandline)

hth,
skk.

2009/4/14 Joe Barrow <joe at primalpictures.com>:
> I have a script that I have written in 'hython' that uses houdini to
> compile a subnet which is used in lots of our files here in the office.
> At the moment I execute this script by copying it into the python source
> editor and applying it.
>
> Is it possible to execute this script on its own without having to fire
> up houdini ? I was hoping I could double click on my .py script, have it
> open hython and execute my script.
>
> - is this possible and if so how ?
>
> many thanks
>
> Jb
>
> ______________________________________________________________________
> This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 4th Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577.
>
> This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person.
> This email has been scanned for Primal Pictures by the MessageLabs Email Security System.
> ______________________________________________________________________
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list