fxrod Posted April 24, 2012 Share Posted April 24, 2012 Hey Guys. I'd like to modify my 123.py file to load a shelf-set into the dock using HOM. I am aware of the hou.shelves.shelfSets() method, but it only returns shelf info or lets you create brand new ones. I don't want to create, I just load ashefl-set into the dock. Thanks in advance! Quote Link to comment Share on other sites More sharing options...
fxrod Posted May 7, 2012 Author Share Posted May 7, 2012 Just found out about pythonrc.py. Going to test this out and see how it goes. Quote Link to comment Share on other sites More sharing options...
fxrod Posted June 2, 2012 Author Share Posted June 2, 2012 Just found out about pythonrc.py. Going to test this out and see how it goes. The pythonrc.py won't do it either. Here's something I learned from SESI. There's an argument you can pass to Houdini called 'waitforui', followed by any python script in your path. I created one called something like shelfconfig.py, which launched my shelfdocks. This works. Only caveat is that you have to pass the .hip file in the first argument. houdini myHipFile.hip waitforui shelfconfig.py Who knew?! I hope someone out there is listening, because the 'waitforui' is something I never heard of! 1 Quote Link to comment Share on other sites More sharing options...
reny Posted November 28, 2013 Share Posted November 28, 2013 Thanks fxrod to have this thread, I just found out you can't trust their document to the letter. For guys on Windows platform, you have to use absolute path for the selfconfig.py otherwise Houdini13 will shut the UI off and keep the process going in background. And you can't load hip file after the python file as stated in official documents here. http://www.sidefx.com/docs/houdini13.0/ref/commandline Seriously, there should just be a callback function to let us setup UI related stuff, life would be so much easier that way. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.