Guest User

Untitled

a guest
Nov 21st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. sn = hou.selectedNodes()
  2.  
  3. if len(sn) is not 0:
  4. for n in sn:
  5. if (len(n.inputs()) is 0) and (len(n.outputs()) is 0):
  6. n.setColor(hou.Color([1,0,0]))
  7. n.setSelected(0)
Add Comment
Please, Sign In to add comment