Where Install library to ?

   7651   5   1
User Avatar
Member
663 posts
Joined: 11月 2013
Offline
hi,
What different “Current Hip File Only” and “Scaned Otl Directory” when install otl library?

Even choose “Scaned Otl Directory” , It still have to re-install when restart houdini.

Thanks!
User Avatar
Member
379 posts
Joined: 12月 2006
Online
In $HOME dir (depends on OS) there is (if not you can create) ‘otls’ folder where you can place otls.

Also you can add custom dir with this env variable HOUDINI_OTLSCAN_PATH.
User Avatar
Member
663 posts
Joined: 11月 2013
Offline
SreckoM
In $HOME dir (depends on OS) there is (if not you can create) ‘otls’ folder where you can place otls.

Also you can add custom dir with this env variable HOUDINI_OTLSCAN_PATH.

thank you ! But I still don't known the difference about install to “Current Hip File Only” and “Scaned Otl Directory”. What the options meaning?
User Avatar
スタッフ
2540 posts
Joined: 7月 2005
Offline
Current Hip File Only = saves asset to Houidni's internal library which is encapsulated inside the .hip file on save

Scanned OTL Directory = assets that reside on disk either using Houdini's environment variables to search for assets on disk on load in one of two ways:

HOUDINI_OPLIBRARIES_PATH := “@”
The path of directories where Houdini looks for OPlibraries files
for loading OTL files at startup. OPlibraries files are only used
if the Operator Type Manager is configured to use them. Otherwise
OTL files are scanned for directly. This path by default is equal
to the HOUDINI_OTL_PATH.

Default path: ‘@’
Where @ is replaced with HOUDINI_OTL_PATH
Directories searched (in order) are:
1) “$HOUDINI_USER_PREF_DIR”
2) “/Users/Shared/houdini/14.0”
3) “$HFS/houdini”

HOUDINI_OTLSCAN_PATH := “@/otls”
This path specifies the directories Houdini will search for OTL files.
This value is only used if the Operator Type Manager is configured not
to use OPlibraries files to find OTL files. The default for this value
is the HOUDINI_OTL_PATH with “/otls” appended to each directory in
that path.

Default path: ‘@/otls’
Where @ is replaced with HOUDINI_OTL_PATH
Directories searched (in order) are:
1) “$HFS/houdini/otls”

The default is $HOUDINI_OPLIBRARIES_PATH.
There's at least one school like the old school!
User Avatar
Member
663 posts
Joined: 11月 2013
Offline
jeff
Current Hip File Only = saves asset to Houidni's internal library which is encapsulated inside the .hip file on save


This may not work. If install with “Current Hip File Only” option and delete the otl file. It can't be load when re-open scene.
User Avatar
スタッフ
2540 posts
Joined: 7月 2005
Offline
Yes that is correct.

If the asset isn't being used in the current scene, it's definition is not saved the next time you save the hip scene file.

If you want to keep the asset around, put it in your $HOME/houdini/otls directory and it will be there the next time you launch Houdini.
There's at least one school like the old school!
  • Quick Links