Unloading packages on a project level

   574   4   0
User Avatar
Member
49 posts
Joined: Feb. 2016
Offline
Currently we're loading Redshift with a package file in the user pref folder on each machine. However, some projects are only using Karma. Is it possible to unload Redshift or any package at the project/shot level? If so, how?
User Avatar
Member
709 posts
Joined: Feb. 2017
Offline
You can start Houdini by running a .bat file. In that file, you can define the Houdini and RS versions per project.


Cheers
CYTE
Edited by CYTE - Oct. 16, 2024 03:08:43

Attachments:
Houdini_20.0.653.zip (440 bytes)

User Avatar
Staff
445 posts
Joined: Feb. 2018
Offline
Do you mean unloading redshift at runtime or to skip loading redshift on startup ? Unloading the redshift package at runtime is not possible yet, should be possible with the next 20.5 production build update (i.e. hou.ui.unloadPackage or with the package browser). However, unloading redshift will not unload the dso resources.

If you need to prevent redshift from loading on startup, you can modify your package to set HOUDINI_PATH conditionally with an array variable as documented [www.sidefx.com].
User Avatar
Member
49 posts
Joined: Feb. 2016
Offline
mabelzile
Do you mean unloading redshift at runtime or to skip loading redshift on startup
I want to skip loading at startup. I'll take a look at the link and see what I can do. We're updating to 20.5 soon, so I'll check out those options as well. Thanks.
User Avatar
Member
28 posts
Joined: Aug. 2017
Offline
We use Rez and Prism which comes with a Launcher that lets you choose version & environment variables based on the selected project.
  • Quick Links