Search - User list
Full Version: How do you export/import/share recipes?
Root » Houdini Lounge » How do you export/import/share recipes?
LukeP
Can’t seem to figure it out. I’m assuming one of the points is to be able to share different presents amongst the community?

How can I pick one or more recipes, export them, and have someone else us it?
Is there anyway to version or override existing, especially on type Tool and maybe save a description of the recipe? I see title, but being able to add a description seems natural, same with being able to specify sub-directories for tools (sub-groups).
nicks_ushkevich
500 views and zero answers. What a community!

https://www.youtube.com/watch?v=o1xg202Rbg8&ab_channel=InsideTheMind [www.youtube.com]
eikonoklastes
nicks_ushkevich
500 views and zero answers. What a community!
It's far better to say nothing if one doesn't know the answer than add noise to a forum. Your reply links to a 12-minute video with no time stamp and no clarification on whether the answer actually exists within that video. Not sure if that's what entails being a better community member.
CYTE
nicks_ushkevich
500 views and zero answers. What a community!

https://www.youtube.com/watch?v=o1xg202Rbg8&ab_channel=InsideTheMind [www.youtube.com]

From a guy with 9 posts.
tamte
it's common to get a lot of views and no answer, that just means that a lot of people are interested in an answer and hoping to find it in the thread
and asking the question you are one of them you should not be surprised

also those are not unique views, so it can be just 1 person refreshing 500 times

but regardless, you can watch this if you are interested in recipes
https://vimeo.com/970732930 [vimeo.com]

I haven't watched it in full, so not sure exact answer is there, but there you will find out that recipes are stored in .hda files

which means that even if Recipe Manager doesn't provide a way to export or version up individual recipes you can do it using Assets/Asset Manager using RMB/Duplicate

to overwrite a recipe just save another one for the target pattern under the same name to the same .hda file
or RMB/delete and save a new one
or RMB edit contents and do your edits there and save to override

to create a separate version you can technically use hda versioning by appending ::1.0 ::1.1 to namespace, but it looks like Houdini will currently treat them as separate Recipes instead of showing just one of them in the dropdown
But of course it depends on what you are trying to do with versioning as you can also target different asset versions with your recipes and those will be filtered per asset version
Mike_A
A follow up on this with a related question:

A little while ago I built a SOP HDA that included twelve pre-sets saved as recipes - stored within the HDA itself.

For various reasons I need to change the name of that HDA. So RMB > digital Asset > Save copy as.

However I'm loosing my embedded recipe presets from the original. Rebuilding them would be a pain as they include multiple ramps with many points on each. I've tried using the Asset Manager to transfer the presets to the new HDA, but without success - but I'm not at all sure I'm going about that the right way. Can anyone offer some step-by-step advice on transferring these recipe presets to new new HDA?
Mike_A
Inevitably... just after posting I seem to have found the solution : ) For future reference:

* Add the original HDA to the scene and select the node.
* Assets > Asset Manager
Find the HDA and any embedded recipes should be listed beneath it.
RMB first recipe:
Copy:
Operator name: Change to the name of the new HDA
Operator Label: Leave as current
Save to Library: Change to path of the new HDA
Repeat copy process for each recipe to be transferred.

* Add the new HDA to the scene and select the node.
* Windows > Recipe Manager
Find the new HDA and the copied recipes should be listed beneath it.
RMB first recipe:
Edit contents:
Show for: Change to "Nodes Matching a custom pattern"
Pattern: Change to the name of the new HDA
Custom file path: Change to path of the new HDA


If this is incorrect, or there is a better way of doing this, please add your thoughts!
Red-Juice
I just copied the Recipes file from the otls folder in my old Houdini preferences to the otls folder in the new version.


step by step:

  1. Locate the preferences folder of your old Houdini version:
    Windows: Documents/houdiniXX.X/
    macOS/Linux: ~/houdiniXX.X/
  2. Inside that folder, open the otls subfolder and find the file called Recipes.
  3. Locate the preferences folder for your new Houdini version.
  4. Check if it has an otls folder:
    If it doesn’t exist, create a new folder named otls.
  5. Copy the Recipes file from the old version’s otls folder into the new version’s otls folder.
  6. Restart Houdini.


    hope that helps
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB