MaximusJ

MaximusJ

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Merging attributes Feb. 8, 2016, 7:49 a.m.

mestela - that is exactly what I was looking for! Big thanks for the help!

Merging attributes Feb. 5, 2016, 11:16 a.m.

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)

Merging attributes Feb. 5, 2016, 8:50 a.m.

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!