If someone is getting an error "global name 'hou' is not defined", just put "import hou" before your function. I was having this issue and it worked. I hope it helps! Thanks for this lesson Indie-Pixel, I really liked it. Please keep making more videos about it!
Very helpful thank you. I would love to automate exporting FBX to UE4. My Houdini Engine is kind of crashy right now in UE4 and I’ll probably just be bumping FBXs for now.
I'm sorry if you answered this question before, but how much expertise would you suggest someone needs to have with python and houdini independantly before combining the two ?
If you go the the downloads page on the SideFX site you'll see a series of Tab at the top - one of these says "Houdini Python 3" you can get a Python 3 Tech Preview build there... Note that this is a Tech Preview and NOT intended for production - some details here : www.sidefx.com/docs/houdini18.0/news/18/viewport.html
13:33 the help note for "item_to_become_input" is confusing. We have a sphere that is supposed to become input, but se see that OUTPUT of the sphere is connected to the INPUT of the box. So, in our case the sphere is the output item.
Hi bro May i ask you question plz? How did the intro video and logo for you? Did freelancer does them for you ? Intro video and logo are really nice dude. Regards
really useful tutorial .. thanks for making this.. here i have one question about how to connect two nodes from merge node.. i have a null and output node and i want to connect it with merge node null_node.setInput(0, merge,0) out_node.setInput(0, merge, 1) is this right? someone help me here..
Hey man, I know that your comment has a long time, but I took your question as a task to practice. import hou def createSomeNodes(): obj = hou.node("/obj") geoNode = obj.createNode("geo", "My_Geo")
outputNode.setDisplayFlag(1) outputNode.setRenderFlag(1) In this code, will create a Torus, Grid, Merge and Output node, and will connect them. Also, the Output node will be with the Flag enabled. I hope it helps someone!
Hey man I have Python 3 and I can't execute any programs because Houdini runs Python 2. Do you know how to upgrade the Python version within Houdini? Thanks!
Yep, you'll need to download the python 3 version of Houdini..its still a separate download. So go to the side fx daily builds and grab the python 3 version.
16:34 Be aware: That shelf tool won't work next time you open Houdini. That's because the Source Editor script is stored in the HIP file you created it in. So the next time you open Houdini, the shelf tool will be there but it won't work: its looking for a function that only exists in the hip-file it was created in. If you instead put the entire script in the shelf tool, it will work every time. as demonstrated here: ruclips.net/video/0qkEjx9pU3Q/видео.html
This man says python is much more powerfull than vex. I have been training myself to work with vex past 1.5 year so I am DOWN for some python action now!
The best houdini teacher alive.
Awe thanks man!:)
If someone is getting an error "global name 'hou' is not defined", just put "import hou" before your function. I was having this issue and it worked. I hope it helps!
Thanks for this lesson Indie-Pixel, I really liked it. Please keep making more videos about it!
This is gonna be fun!
Yeah man! Lets make some Automation and Tools! :-)
really interesting series, im in
Very helpful thank you. I would love to automate exporting FBX to UE4. My Houdini Engine is kind of crashy right now in UE4 and I’ll probably just be bumping FBXs for now.
I'm sorry if you answered this question before, but how much expertise would you suggest someone needs to have with python and houdini independantly before combining the two ?
ty Indie!
Great Tutorial, very clear
this is highquality stuff. Thank you very much
Hi Kenny,
Does Hou18 use python 2 or 3, I have 17 and python shell is under 2.7. just curious
Looking in the install directory the exe is still 2.7
If you go the the downloads page on the SideFX site you'll see a series of Tab at the top - one of these says "Houdini Python 3"
you can get a Python 3 Tech Preview build there...
Note that this is a Tech Preview and NOT intended for production - some details here : www.sidefx.com/docs/houdini18.0/news/18/viewport.html
13:33 the help note for "item_to_become_input" is confusing. We have a sphere that is supposed to become input, but se see that OUTPUT of the sphere is connected to the INPUT of the box. So, in our case the sphere is the output item.
Can you cover how to add interactive handles and transform gizmos?
Yeah we will work our ways towards guis, want to make sure we build up from the basics. Thanks so much!:)
Thanks much
which is best python or vex? i know little bit python 🙄 is python slow?
Hi bro
May i ask you question plz? How did the intro video and logo for you? Did freelancer does them for you ?
Intro video and logo are really nice dude.
Regards
really useful tutorial .. thanks for making this..
here i have one question about how to connect two nodes from merge node..
i have a null and output node and i want to connect it with merge node
null_node.setInput(0, merge,0)
out_node.setInput(0, merge, 1)
is this right?
someone help me here..
Hey man, I know that your comment has a long time, but I took your question as a task to practice.
import hou
def createSomeNodes():
obj = hou.node("/obj")
geoNode = obj.createNode("geo", "My_Geo")
torusNode = geoNode.createNode("torus", "My_Torus")
gridNode = geoNode.createNode("grid", "My_Grid")
outputNode = geoNode.createNode("output", "My_Output")
mergeNode = geoNode.createNode("merge", "My_Merge")
mergeNode.setInput(0, torusNode, 0)
mergeNode.setInput(1, gridNode, 0)
outputNode.setInput(0, mergeNode, 0)
outputNode.setDisplayFlag(1)
outputNode.setRenderFlag(1)
In this code, will create a Torus, Grid, Merge and Output node, and will connect them. Also, the Output node will be with the Flag enabled.
I hope it helps someone!
Hey man I have Python 3 and I can't execute any programs because Houdini runs Python 2. Do you know how to upgrade the Python version within Houdini? Thanks!
Yep, you'll need to download the python 3 version of Houdini..its still a separate download. So go to the side fx daily builds and grab the python 3 version.
thank you so muchhhhh.........
16:34
Be aware: That shelf tool won't work next time you open Houdini.
That's because the Source Editor script is stored in the HIP file you created it in. So the next time you open Houdini, the shelf tool will be there but it won't work: its looking for a function that only exists in the hip-file it was created in.
If you instead put the entire script in the shelf tool, it will work every time.
as demonstrated here: ruclips.net/video/0qkEjx9pU3Q/видео.html
This man says python is much more powerfull than vex. I have been training myself to work with vex past 1.5 year so I am DOWN for some python action now!
I would still use vex, python is not replacement for it.
houdini python is only for SOP content only??
No, you can use Python in many contexts within Houdini.