Jump to content

Is there a command to load an OTL file in Python?


magneto

Recommended Posts

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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...