In this article:
Introduction
With the latest version of the Cargo plugin for Houdini, users now have the flexibility to configure the location where .hip asset files are saved on their drive. This can be achieved through the use of the new environment variable $KITBASH_ASSETS included in a users houdini.env file during software setup.
This article will guide you on how to set up and customize this environment variable to define the storage location for your .hip asset files.
Getting Started
First, ensure you have the latest version of the Cargo plugin for Houdini. This can be done by simply going through software setup in Cargo.
By doing so, users can be certain that they have the latest Cargo plugin for Houdini as well as the newly added $KITBASH_ASSETS variable.
Default Saved Asset File Locations
By default, if you do not set the $KITBASH_ASSETS variable, we will use the following location:
$HOME/KitBash3D/Cargo/Houdini
Configuring Custom Saved Asset File Locations
Locating the houdini.env File
For most users, this will exist under %HOMEPATH%\Documents\houdiniX.X\houdini.env.
Configuring the location for imported .hip asset files in Houdini is made easy with the use of the $KITBASH_ASSETS environment variable. By customizing this variable in the houdini.env file, users can define a location that suits their workflow preferences. Whether you choose the default location or set a custom directory, this flexibility enhances your control over asset file management in the Cargo plugin for Houdini.
Editing the houdini.env File
1. Open houdini.env using a text editor of your choice.
2. Add the following line to set the environment variable `$KITBASH_ASSETS`:
KITBASH_ASSETS = "C:/Path/To/Your/Custom/Directory"
Replacing "C:/Path/To/Your/Custom/Directory" with the desired location on your drive.
3. Save the changes to the houdini.env file and close the text editor.