Event when Hip is Opened

   4636   6   1
User Avatar
Member
13 posts
Joined: July 2013
Offline
Hi Members,
Is there any solution to automatically run a script and get the actually opened hip file name when it happens in Houdini. In XSI there are events for scripting purpose.
THANKS,
Szabi
User Avatar
Member
637 posts
Joined: June 2006
Online
whats the target? and when you need the filename?

when it's for start up you can make a custom function or a variable?
http://odforce.net/wiki/doku.php?id=startupscripts [odforce.net]

the file variable you can check under Edit > Aliases and Variables …
$HIP or $HIPNAME

houdini is not same as softimage or maya where you can view every command.

if you wan't to know more look at this post from jeff:
http://forums.odforce.net/topic/17105-short-and-sweet-op-centric-lessons/#entry104263 [forums.odforce.net]
User Avatar
Member
13 posts
Joined: July 2013
Offline
Thanks ,
I just want to know which hips are opened in a list and with a script i can easily select the last few one and make the loading/selecting process a bit faster.
User Avatar
Member
637 posts
Joined: June 2006
Online
some time ago i wanted to make a project manager in houdini where you can manage the project folder layout with all the shots, light, geo setup. more like a sequenzer where you insert your shot and you can add light, terran presets that will add automaticly in that houdini shot.

know it should be possible that's to the pyqt binding, i will see what i can do….
User Avatar
Member
99 posts
Joined: July 2007
Offline
Illés Szabolcs
Hi Members,
Is there any solution to automatically run a script and get the actually opened hip file name when it happens in Houdini. In XSI there are events for scripting purpose.
THANKS,
Szabi

Hi,
seems like you are looking for 456.cmd or 456.py
https://www.sidefx.com/docs/houdini13.0/commands/_guide [sidefx.com]
it gets executed on scene open.
User Avatar
Member
1 posts
Joined: Jan. 2015
Offline
I think with this i can solve this.
THANKS!

It helped!
  • Quick Links