Ksenia Yasyrkina
Pushpin
About Me
EXPERTISE
Generalist
Connect
LOCATION
Belgrad,
Not Specified
WEBSITE
Houdini Skills
Availability
I am available for Freelance Work
Recent Forum Posts
How to make recipes work in Houdini using Python? Nov. 23, 2024, 10:10 a.m.
Thank you, Alexwheezy! I found the mistake in my code. I used not full name of the recipe I had saved. So, it should be like in Recipe Manager (Windows - Recipe Manager) in "Internal Name" column. So, in my case it should be not just "test", but "user::test". And everything works fine!
How to make recipes work in Houdini using Python? Nov. 21, 2024, 1:32 p.m.
Hi! I'm trying to automate node creation in Houdini using Python. Specifically, I want to create nodes saved as a tab recipe. However, I keep getting an error. What am I doing wrong?
This code doesn't work as well:
asset = hou.selectedNodes()[0] pane_tab = hou.ui.paneTabOfType(hou.paneTabType.NetworkEditor) recipe_name = "test" node_position_x = 0 node_position_y = 0 kwargs = { "pane": pane_tab, "inputs": [asset.path()], "outputs": [], "nodepositionx": node_position_x, "nodepositiony": node_position_y, } hou.data.applyTabToolRecipe(recipe_name, kwargs)
This code doesn't work as well:
asset.hou.data.applyTabToolRecipe(recipe_name, kwargs)