Copy node and connect to multiple nodes?

   518   3   0
User Avatar
Member
3 posts
Joined: Nov. 2017
Offline
Hi, i have 150 nodes wich i can easely select and i want to add uv texture node to each of them, so is any simple solution for it avoiding manual labor))?
User Avatar
Member
3546 posts
Joined: July 2007
Offline
import hou
nodes = hou.selectedNodes()
for node in nodes:
    node.createOutputNode("texture");
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
3 posts
Joined: Nov. 2017
Offline
tamte
import hou
nodes = hou.selectedNodes()
for node in nodes:
    node.createOutputNode("texture");
Thank you very much!
User Avatar
Member
14 posts
Joined: March 2018
Offline
Would not it also work this way: Drag from one connector to another instead of using separate clicks? (it is from http://www.sidefx.com/docs/houdini/network/wire.html)I am pretty new to using Houdini so I am by no means an expert, just wondering.
  • Quick Links