Jump to content

rescan $HOUDINI_OTLSCAN_PATH


nahee

Recommended Posts

Hi,

Is there a way to have a running houdini instance rescan the $HOUDINI_OTLSCAN_PATH and import all new *.otl-s.

At the moment I have to either import the new otls one by one or restart houdini? If this can't be done I'll probably end up with a python script that will do this but I'd rather use an already existing built-in method if one exists.

Link to comment
Share on other sites

Try 'File->Refresh Asset Libraries'. I believe that should do what your looking for.

Hi,

Is there a way to have a running houdini instance rescan the $HOUDINI_OTLSCAN_PATH and import all new *.otl-s.

At the moment I have to either import the new otls one by one or restart houdini? If this can't be done I'll probably end up with a python script that will do this but I'd rather use an already existing built-in method if one exists.

Link to comment
Share on other sites

Since this is in the scripting thread I'll add that the hscript 'otrefresh' can be used instead of the UI.

:)

Yes, I've tried that first (without reading the docs, ofcourse) so it didn't update the new otl files within $HOUDINI_OTLSCAN_PATH. To have that happen, you'll need to

otrefresh -r

Since there's no "REPLACED BY" mentioned, I guess there's no 'native python' command for this yet?

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