1. Home
  2. Docs
  3. AssetHandler Documentatio...
  4. Basics UI
  5. Libraries

Libraries

ASSH = AssetHandler

Main library

Preferences > Libraries > Asset Library Anchor ($ASSET_LIB) is your main library. The ASSH sets the Houdini variable $ASSET_LIB to this path and writes it into the file paths of the nodes it creates, so a scene keeps working when the library moves and the variable points to the new place.

If the folder is empty, the ASSH creates one subfolder per asset type:

hda  hdri  hdri_lights  proxy  aixterior  megascans  textures  shaders  models  kitbashes  USD  _substance_bridge
Asset Library Anchor field in the Preferences
Main library location

Additional libraries

[ Add/Remove Additional Libraries ] opens an editor for more library folders, for example a Megascans download folder, a shared studio library or one folder per API source. Every entry has:

  • Path: the folder
  • Type: the asset type, which decides in which tab the library appears (see the table below)
  • Variable: its own Houdini variable, $ASSET_LIB_ADD_0, $ASSET_LIB_ADD_1 and so on. Rename it with R; the ASSH updates the paths in the metadata.
  • Colour: highlights the thumbnails of this library in the tables. The shuffle button picks a new colour.
  • Remove: removes the library from the list (the files stay on disk)

Press Set Libraries to save. The changes are used with the next scan of the tab.

Additional Libraries dialog with one entry per library
Additional libraries
Library typeTabContent
HDAHDAHDAs and NoneHDAs
HDRI, HDRI_LIGHTHDRIHDRI maps / HDRI studio lights
HDRI_ambientCG, HDRI_PolyHavenHDRIHDRIs from the ambientCG / PolyHaven API
PROXYRS-Proxy / ORBXRedshift proxies and ORBX archives
AIXTERIORAixteriorAixterior downloads
MEGASCANSMegascansA Megascans folder you manage yourself
MEGASCANS_LibraryMegascansThe download folder of Quixel Bridge
MEGASCANS_Fab_LibraryMegascansFab assets loaded with the Epic Games Launcher
TEXTURESTextures / MaterialsTexture folders and PBR sets
TEXTURES_ambientCG, TEXTURES_PolyHavenTextures / MaterialsPBR sets from the ambientCG / PolyHaven API
AMD_MATERIALXTextures / MaterialsAMD MaterialX Library
SHADERSShaderShader presets
MODELS_PolyHavenModels / KitbashesModels from the PolyHaven API
MODELS_KitbashesModels / KitbashesGeometry files and kitbashes
USDUSDUSD assets
TEX_SUBSTANCE (Deprecated)–No longer used

API libraries (ambientCG, PolyHaven, AMD MaterialX) need their own additional library, because the downloads are stored there. Give every API source its own folder. Only HDRIs from ambientCG and PolyHaven may share one folder.

Inside a library you can organise assets in subfolders with the folder tree (Add Folder, Rename Folder). Aixterior, Megascans and Fab folders keep the structure of the vendor: do not rename their files or folders (see Aixterior & Megascans).

Library Handling / Additional Libraries

Video: library handling and additional libraries

Project based libraries ($JOB)

Under Preferences > Project you can store the library paths and the renderer with the project instead of your user settings. The file is $JOB/__ns_AssetHandler/Preferences.json. All other settings always come from your user preferences.

Project based library pathsScreenshot from version 1.20.0. The current version may look different.
  • Project based Library Pathes ($JOB): reads the library paths from $JOB. If there is no file yet, it is created.
  • Reload Libery Pathes ($JOB/USER): reads the paths again, for example after you changed $JOB
  • Export Library Pathes to $JOB: writes the current paths to $JOB
  • Import $JOB Library Pathes from File: takes the paths from another preferences file and writes them to $JOB
  • Set $JOB Library Pathes to USER: copies the project paths into your user settings

The USER / $JOB switch at the top of the panel changes between both sets at any time. Switching unloads the $ASSET_LIB_ADD variables of the other set.