Asset library path change

   216   2   1
User Avatar
Member
98 posts
Joined: Aug. 2015
Offline
Hi!
I have a scene with layout and bunch of assets loaded in and painted in the scene. But mistake was made and import of assets into asset library and into layout was done on windows using full path instead of $HIP or $JOB variables. That ofc made them unreadable on linux. Render pre-flight check does not help as well as now assets and paths are inside locked nodes in layout and I don't see a way to convert current layouts into linux readable formats ie replacing windows path with $HIP path.
Any ideas how to deal with this without importing everything again and painting from scratch all those assets?
Appreciate any help!
User Avatar
Member
130 posts
Joined: Jan. 2015
Offline
Maybe this node [www.sidefx.com] can help.
Edited by Heileif - April 22, 2024 14:21:26
User Avatar
Staff
4441 posts
Joined: July 2005
Offline
The contents of the Layout LOP are not completely locked. You can dive inside the Layout LOP and you'll be presented with all the nodes that were used to load the assets from disk (probably a bunch of asset reference LOPs). You can modify these nodes to use HIP-relative paths instead of absolute paths. Things can go sideways if you nodes in there, or cause the primitive path where the asset is loaded changes, but otherwise modifying parms on existing nodes should be safe.
  • Quick Links