Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import hou
- def main():
- for i in hou.selectedNodes():
- node = i.path()
- numNodesConnected = len(i.inputs())
- for aNode in i.inputs():
- nameNodesConnected = aNode.name()
- hou.hscript("opunwire %s 0"%node)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement