magneto Posted December 29, 2011 Share Posted December 29, 2011 Right now I rely on my OTL being in the Users folder but I want to have my OTL in another drive so it's safe in case the system drive goes down or something. Is there a way to load an OTL so I can use it in my 123.py? Thanks guys. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 29, 2011 Share Posted December 29, 2011 hou.hda.installFile()? 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 29, 2011 Author Share Posted December 29, 2011 Thanks, that did the trick. I did search the docs and online but couldn't find this. Quote Link to comment Share on other sites More sharing options...
3dbeing Posted December 29, 2011 Share Posted December 29, 2011 Thanks, that did the trick. I did search the docs and online but couldn't find this. The first thing i do is search hscript in the textport exhelp -k whatever help -k whatever exhelp is for expressions help is for functions -k will match whatever to what is listed in the help... in this case help -k hda, at the top it tells you the equivalent python if it exists... Quote Link to comment Share on other sites More sharing options...
magneto Posted December 29, 2011 Author Share Posted December 29, 2011 Sorry I meant, I couldn't find that this function exists. Otherwise I read up on it when you posted it Quote Link to comment Share on other sites More sharing options...
rdg Posted December 29, 2011 Share Posted December 29, 2011 Is there a way to load an OTL so I can use it in my 123.py? That's what the HOUDINI_PATH environment variable is for. http://www.sidefx.com/docs/houdini11.1/basics/config#id411678 http://odforce.net/wiki/index.php/CustomizingHoudini Generally speaking: If /magneto is in your HOUDINI_PATH and there's a /magneto/otls then OTLs found in this directory will be loaded when houdini starts. Quote Link to comment Share on other sites More sharing options...
magneto Posted December 29, 2011 Author Share Posted December 29, 2011 For some reason some of my paths are not set. I can't see them in the alias and variables dialog. I only see $HIP which is different from where scripts were loaded from. I was using it like this but I want my otl to be in my non-system drive, in case something happens to it. It seems like thought HOUDINI_PATH supports more than one path, so I might look into that too. But right now, it's all working how I want it. Quote Link to comment Share on other sites More sharing options...
rdg Posted December 29, 2011 Share Posted December 29, 2011 For some reason some of my paths are not set. I can't see them in the alias and variables dialog. Yeah, these are the 'internal' variables. HOUDINI_PATH is a os envar. 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.