Found 3 posts.
Search results Show results as topic list.
Houdini Indie and Apprentice » Merging attributes
- MaximusJ
- 3 posts
- Offline
Houdini Indie and Apprentice » Merging attributes
- MaximusJ
- 3 posts
- Offline
hey DASD - big thanks for your reply!
I've tried using connectivity SOP and that should do the job however there is still one issue that I can't figure out.
After using the connectivity SOP I'm getting an integer value out… is there any way to convert it to string in order to add “box” at the front and then the value? so the final result needs to be ‘'box1“, ”box2“, ”box3" etc rather then 1,2,3 (I need it this way because ’'box'' name is used down the line in another setup for masking purposes)
I've tried using connectivity SOP and that should do the job however there is still one issue that I can't figure out.
After using the connectivity SOP I'm getting an integer value out… is there any way to convert it to string in order to add “box” at the front and then the value? so the final result needs to be ‘'box1“, ”box2“, ”box3" etc rather then 1,2,3 (I need it this way because ’'box'' name is used down the line in another setup for masking purposes)
Houdini Indie and Apprentice » Merging attributes
- MaximusJ
- 3 posts
- Offline
Hey guys,
I'm very new to houdini and today I was trying to figure out how can I merge two attributes together and rename the values accordingly.
Say at the moment I got a scene where on one branch I got 4 boxes that are numbered from 0 to 4 in an attribute ‘ninja’ and on the other side I got 8 boxes that are numbered from 0 to 8 also in a attribute called ‘ninja’.
Now when I merge those two branches together in my ‘ninja’ attribute I get box 0 to 7 and then again 0 to 4. What I want is the numbers to incrementally go up so I get the whole range of the boxes 0 to 11. Hopefully that makes sense?
I attached the sample file as well which will hopefully make things bit more clear.
Any help would be much appreciated!
I'm very new to houdini and today I was trying to figure out how can I merge two attributes together and rename the values accordingly.
Say at the moment I got a scene where on one branch I got 4 boxes that are numbered from 0 to 4 in an attribute ‘ninja’ and on the other side I got 8 boxes that are numbered from 0 to 8 also in a attribute called ‘ninja’.
Now when I merge those two branches together in my ‘ninja’ attribute I get box 0 to 7 and then again 0 to 4. What I want is the numbers to incrementally go up so I get the whole range of the boxes 0 to 11. Hopefully that makes sense?
I attached the sample file as well which will hopefully make things bit more clear.
Any help would be much appreciated!
-
- Quick Links