[Sidefx-houdini-list] python:: where was Houdini launched from?

Rangi Sutton rangi.sutton at gmail.com
Fri Jan 30 20:57:33 EST 2009


2009/1/31 Robert D.M. Smith <robert.dm.smith at gmail.com>

> I've posted this on the SESI forum but thought I might get a faster
> response
> from this list ... sorry for double posting ...
>
> I have a pythonrc.py file that needs to do some stuff if Houdini is
> launched
> from an existing hipfile (ie. houdini <filename>). Is there a python
> command
> to check if the Houdini session was launched from hipfile or just typing
> 'houdini'?
>
>
I don't know... but there is a 456.py that gets sourced when opening houdini
with a hip file... 123.py gets sourced when opening  a new session.

Might help.

Cheers,
r.



More information about the Sidefx-houdini-list mailing list