Uninstancing

   343   3   2
User Avatar
Member
38 posts
Joined: July 2014
Offline
Hi,

so uninstancing in Houdini is a bit tricky. But I was thinking could it be done with a for loop and copy? See attached image. So I have instance points with all attributes coming in and on the left side I have geometry that gets copied. What expression do I need to put in the path to read the instance attribute from points and dynamically change the path per point? thank you

Attachments:
object path.JPG (76.2 KB)

User Avatar
Member
1932 posts
Joined: June 2008
Offline
I'm not sure if this will work with a string based attribute but try this in the Object1 field.
point("../foreach_begin1/",0,"path",0)
Edited by Enivob - Sept. 20, 2019 08:39:10
Using Houdini Indie
Ubuntu 18.04 48GB Ryzen 16 core.
nVidia 1070GTX 8BG RAM
User Avatar
Member
179 posts
Joined: April 2017
Offline
If your instance paths are already defined as a point attribute, you can just feed it into the Instance SOP. There's an option there for “Instance Attribute”… this can be a string that points to either a file on disk, or a SOP path using op:/ syntax.
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
User Avatar
Member
38 posts
Joined: July 2014
Offline
Hey guys. Thanks for the help!
Enivob - It didn't work but I watched this video and figured it out. Thanks for the help!
  • Quick Links