Python equivalent of diving into network

   2788   1   0
User Avatar
Member
143 posts
Joined: March 2014
Offline
Hello,

Is there a way in python to “dive inside” a subnetwork. Basically the equivalent of double-clicking or hitting “enter” while on a node?

Thanks!
User Avatar
Member
143 posts
Joined: March 2014
Offline
Ok here is the way I'm doing it now…not sure if there is a better way:

nod = hou.node('.')
childs = nod.children()
first = childs
first.setCurrent(True, True)

  • Quick Links