opscript as python?

   2678   2   1
User Avatar
Member
617 posts
Joined: Aug. 2008
Offline
is there a python comand to do the opscript command?
i know i can do as code, but when i select a subnet and do node.asCode()
only give me that node.
can i get also the information of the nodes inside as the opscript does?

:roll:
User Avatar
Member
8573 posts
Joined: July 2007
Offline
from help to as hou.node.asCode() you can see that you can set recurse to True to get whole hierarchy
http://www.sidefx.com/docs/houdini12.5/hom/hou/Node#asCode [sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
617 posts
Joined: Aug. 2008
Offline
aja!
thanks i was looking at the hou.NodeGroups trying to figure it out. thats awesome!!!…
  • Quick Links