Structure merge

Swiftlikeninja's picture

I have a structure like the one in the attached picture, Im struggling with a means of combining all the indexes together. so for example the output structure would be ['61405075','6140232'], basically merging the structure together by index.

can anyone assist me with some javascript snippets to point me in the right direction?

PreviewAttachmentSize
Screen shot 2012-06-07 at 4.47.31 PM.png
Screen shot 2012-06-07 at 4.47.31 PM.png15.59 KB

cybero's picture
Re: Structure merge

Kineme Data Tools - Structure Combine patch might prove useful.

Swiftlikeninja's picture
Re: Structure merge

I absolutely forgot about the kineme tools, it appears to just append the data to the end of the structure. I also need this to be dynamic. the length of the structure is not constant. Thank you for the suggestion though.

Swiftlikeninja's picture
Re: Structure merge

Dbl Post sorry

cybero's picture
Re: Structure merge

OK, have more closely read your requirements and I don't see the point of the merger process required, but it could be done, although retrieving the information into an ordered structure is a matter of knowing what you want to merge and why.

Looking at what you say you want to result makes me think that unless you go another step in allowing for the creation of a structure merge, with fresh indices and members resulting from the blend then you'll only have string of numbers that will otherwise always recreate only the original structures input.