JFWfilms Posted September 4, 2019 Share Posted September 4, 2019 Hi, How do I find the name of a node to pass into the 'createNode()' function? I'm following a tutorial, and in it he writes: .createNode(“ifd”) to create a mantra node. But I can't figure out where I find this. I've printed the node using the ‘.asCode()’ function, but I'm not really sure what I'm looking for. Thanks a lot Quote Link to comment Share on other sites More sharing options...
animknight Posted September 5, 2019 Share Posted September 5, 2019 Hi, It's the operator type of the node. If you right click on any node and click on Type Properties, you would find it's Operator Type there. Cheers -J 1 Quote Link to comment Share on other sites More sharing options...
Outlawed Posted September 5, 2019 Share Posted September 5, 2019 (edited) hou.node("/obj/geo1/file1").type().name() Drop that in the python shell. it will return the operator type name. Or just hou.node("/obj/geo1/file1").type() Edited September 5, 2019 by Outlawed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.