VEX: Detect All Node Names Inside Node?

   247   1   0
User Avatar
Member
1144 posts
Joined: April 2017
Offline
Hi!

I have a geo node named "myGeoNode". Inside of it, there's a box1, polyextrude1 and a null1. In vex, if I have the path of myGeoNode, is there a way to automatically find all the node names inside and put them in an array? Is there a function for that?

-Olivier
User Avatar
Member
151 posts
Joined: Aug. 2012
Offline
You should be using a Python SOP for this type of processing. You can create a detail attribute and write the nodes output by hou.node().children() [www.sidefx.com] to it.
  • Quick Links