I may be doing something incorrectly but when I try to save a recipe as a tool on the Custom File Path and select a directory I know for certain is on HOUDINI_PATH the dialog says 'Save directory is not on the Houdini path, this preset will not be installed automatically on startup. And, of course, the tool is not available on the next Houdini start.
If I save using the 'User Preferences' option, which is not on the HOUDINI_PATH, no warning and the tool is available after a Houdini restart.
I'd like to save my recipes in various directories in my file system, for organizational purposes. I would, of course, include these directories on HOUDINI_PATH.
Am I missing something?
MacOS Sonoma.
Thanks,
Greg
Saving Recipies to Directory on HOUDINI_PATH Not Working
2021 11 3- GregBollella
- Member
- 40 posts
- Joined: June 2021
- Online
- mabelzile
- Staff
- 445 posts
- Joined: Feb. 2018
- Offline
- GregBollella
- Member
- 40 posts
- Joined: June 2021
- Online
- folpatte
- Member
- 9 posts
- Joined: Aug. 2018
- Offline
- mabelzile
- Staff
- 445 posts
- Joined: Feb. 2018
- Offline
folpatteTry installing your recipe file with a package to load your recipes in Houdini.
That is something that I would be interested in too. Being able to save recipies in a custom directory, and set a custom path to load them, so that they would be installed on startup, just to be able to store recipies for upcoming versions of Houdini.
Would be great !
E.g.
{ "hpath": "/var/tmp/myrecipes" }
The recipe file must be located here
/var/tmp/myrecipes/otls/myrecipe.hda
In the next 20.5 production build, you'll be able to set a custom recipe path with HOUDINI_CUSTOM_RECIPE_DIR.
E.g.
{ "hpath": "/var/tmp/myrecipes", "env" : [ {"HOUDINI_CUSTOM_RECIPE_DIR": "/var/tmp/myrecipes"}, {"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"} ] }
The recipe dialogs will lock their save directory location to HOUDINI_CUSTOM_RECIPE_DIR
- Rifs
- Member
- 3 posts
- Joined: June 2020
- Offline
mabelzile
{
"hpath": "/var/tmp/myrecipes",
"env" : [
{"HOUDINI_CUSTOM_RECIPE_DIR": "/var/tmp/myrecipes"},
{"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"}
]
}
how do you set it up, pretty boob here. Do you mind giving more detail like what file goes where?
and also what if I want to save on D: drive (D/lib/houdini)?
- mabelzile
- Staff
- 445 posts
- Joined: Feb. 2018
- Offline
Rifsmabelzile
{
"hpath": "/var/tmp/myrecipes",
"env" : [
{"HOUDINI_CUSTOM_RECIPE_DIR": "/var/tmp/myrecipes"},
{"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"}
]
}
how do you set it up, pretty boob here. Do you mind giving more detail like what file goes where?
and also what if I want to save on D: drive (D/lib/houdini)?
The above JSON package file setups a custom recipe folder "/var/tmp/myrecipes" with the recipe file name "myrecipe" as a custom library name, so all recipes saved with the recipe dialogs will be located in "/var/tmp/myrecipes/otls/myrecipe.hda". On startup Houdini will load the package along with "myrecipe.hda". The package file should go under your <user folder>/packages, In your case just swap "/var/tmp/myrecipes" with "D:/lib/houdini" as the custom recipe dir.
Check out the documentation for more details about these env vars and packages.
- Mark Wallman
- Member
- 700 posts
- Joined: Aug. 2013
- Offline
Hi. Just to check is hpath the same as HOUDINI_PATH and if not what are the differences?
Also I noticed your hpath comes before env. Does it have to be like this? Im currently adding it to our json file which right now looks like this (thanks for any advice in advance!!
{
"env":[
{
"HOUDINI_ACCESS_METHOD" : "3"
},
{
"PDG_USE_PDGNET" : "0"
},
{
"HOUDINI_NO_LEGACY_MENUS" : "1"
},
{
"HOUDINI_DSO_ERROR": "0"
},
{
"HOUDINI_PACKAGE_VERBOSE": "1"
},
{
"HOUDINI_BUFFEREDSAVE": "1"
},
{
"HOUDINI_PATH": "P:/all_work/shared/scripts/Houdini/apexgraph"
},
{
"HOUDINI_PATH": "C:/Docs/houdini20.0/lighter-main"
},
{
"HOUDINI_OTLSCAN_PATH" : "C:/Docs/houdini20.0/olts"
},
{
"HOUDINI_OTLSCAN_PATH" : "P:/all_work/shared/scripts/Houdini/otls"
},
{
"HOUDINI_TOOLBAR_PATH": "C:/Docs/houdini20.0/toolbar"
},
{
"HOUDINI_DESKTOP_DIR": "C:/Docs/houdini20.0/desktop"
},
{
"HOUDINI_USER_PREF_DIR": "C:/Docs/shared_content"
},
{
"KARMA_XPU_MAX_TEXTURE_RES" : "8192"
},
{
"KARMA_XPU_MAX_UDIM_U" : "90"
},
{
"KARMA_XPU_MAX_UDIM_V" : "90"
},
{
"hpath": "P:/all_work/shared/scripts/Houdini/recipes",
{"HOUDINI_CUSTOM_RECIPE_DIR": "P:/all_work/shared/scripts/Houdini/recipes"}, {"HOUDINI_CUSTOM_RECIPE_LIBRARY": "customRecipes"}
]
],
}
Also I noticed your hpath comes before env. Does it have to be like this? Im currently adding it to our json file which right now looks like this (thanks for any advice in advance!!
{
"env":[
{
"HOUDINI_ACCESS_METHOD" : "3"
},
{
"PDG_USE_PDGNET" : "0"
},
{
"HOUDINI_NO_LEGACY_MENUS" : "1"
},
{
"HOUDINI_DSO_ERROR": "0"
},
{
"HOUDINI_PACKAGE_VERBOSE": "1"
},
{
"HOUDINI_BUFFEREDSAVE": "1"
},
{
"HOUDINI_PATH": "P:/all_work/shared/scripts/Houdini/apexgraph"
},
{
"HOUDINI_PATH": "C:/Docs/houdini20.0/lighter-main"
},
{
"HOUDINI_OTLSCAN_PATH" : "C:/Docs/houdini20.0/olts"
},
{
"HOUDINI_OTLSCAN_PATH" : "P:/all_work/shared/scripts/Houdini/otls"
},
{
"HOUDINI_TOOLBAR_PATH": "C:/Docs/houdini20.0/toolbar"
},
{
"HOUDINI_DESKTOP_DIR": "C:/Docs/houdini20.0/desktop"
},
{
"HOUDINI_USER_PREF_DIR": "C:/Docs/shared_content"
},
{
"KARMA_XPU_MAX_TEXTURE_RES" : "8192"
},
{
"KARMA_XPU_MAX_UDIM_U" : "90"
},
{
"KARMA_XPU_MAX_UDIM_V" : "90"
},
{
"hpath": "P:/all_work/shared/scripts/Houdini/recipes",
{"HOUDINI_CUSTOM_RECIPE_DIR": "P:/all_work/shared/scripts/Houdini/recipes"}, {"HOUDINI_CUSTOM_RECIPE_LIBRARY": "customRecipes"}
]
],
}
Edited by Mark Wallman - Sept. 6, 2024 11:47:08
- mabelzile
- Staff
- 445 posts
- Joined: Feb. 2018
- Offline
- Mark Wallman
- Member
- 700 posts
- Joined: Aug. 2013
- Offline
- Thomas M
- Member
- 3 posts
- Joined: April 2019
- Offline
Hi everyone,
I’m trying to load my Houdini recipes from a custom Google Drive folder, but I can’t tell if Houdini is recognizing the setup. The Mops.json file in the packages folder is working fine; it’s just this custom directory that’s giving me trouble.
Here’s what I’m using:
json
Copy code
{
"HOUDINI_PATH": "j:/My Drive/Houdini_Recipes",
"env": [
{"HOUDINI_CUSTOM_RECIPE_DIR": "j:/My Drive/Houdini_Recipes"},
{"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"}
]
}
I’ve tried adjusting to forward slashes, but still no luck. Does anyone know if HOUDINI_CUSTOM_RECIPE_DIR is valid for loading recipes, or have advice on getting custom paths to work?
Thanks!
I’m trying to load my Houdini recipes from a custom Google Drive folder, but I can’t tell if Houdini is recognizing the setup. The Mops.json file in the packages folder is working fine; it’s just this custom directory that’s giving me trouble.
Here’s what I’m using:
json
Copy code
{
"HOUDINI_PATH": "j:/My Drive/Houdini_Recipes",
"env": [
{"HOUDINI_CUSTOM_RECIPE_DIR": "j:/My Drive/Houdini_Recipes"},
{"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"}
]
}
I’ve tried adjusting to forward slashes, but still no luck. Does anyone know if HOUDINI_CUSTOM_RECIPE_DIR is valid for loading recipes, or have advice on getting custom paths to work?
Thanks!
- mabelzile
- Staff
- 445 posts
- Joined: Feb. 2018
- Offline
Thomas MWhat is the issue exactly ?
Hi everyone,
I’m trying to load my Houdini recipes from a custom Google Drive folder, but I can’t tell if Houdini is recognizing the setup. The Mops.json file in the packages folder is working fine; it’s just this custom directory that’s giving me trouble.
Here’s what I’m using:
json
Copy code
{
"HOUDINI_PATH": "j:/My Drive/Houdini_Recipes",
"env": [
{"HOUDINI_CUSTOM_RECIPE_DIR": "j:/My Drive/Houdini_Recipes"},
{"HOUDINI_CUSTOM_RECIPE_LIBRARY": "myrecipe"}
]
}
I’ve tried adjusting to forward slashes, but still no luck. Does anyone know if HOUDINI_CUSTOM_RECIPE_DIR is valid for loading recipes, or have advice on getting custom paths to work?
Thanks!
j:/My Drive/Houdini_Recipes/otls/myrecipe.hda should be listed in the Recipe Manager unless the package is not loading for some reason.
Does j:/My Drive/Houdini_Recipes/otls/myrecipe.hda exist on disk ?
-
- Quick Links