Splash, I've uploaded a screenshot and the definition for a simplified example using a 2 variable function to sort the 2 input lists. You can change the boolean settings for the two duplicate data functions to re-order the lists. Take a look. I'm not exactly sure how to link the image and ghx files to this post, but if you click on the Files tab up on the right hand menu of this page, you should see a file called Sorting Screen_01.jpg and sorting example.ghx. I hope this helps. Best, Andy
On Oct 21, 10:47 am, Rchitekt <[EMAIL PROTECTED]> wrote: > Hi Splash, > I'm not sure if this will help or not, but I have posted a tutorial > and a file on my website, where I sort 3 variables (yours is only > calling 2 variables, but the same principles are the same) and then > use a text tag to assign the data to a piece of geometry in the > scene. Here's a > link:http://www.liftarchitects.com/journal/2008/10/12/grasshopper-tutorial... > In step 5 of the tutorial, use 2 series components and 2 duplicate > data components to prep the data that then gets fed into a 3 variable > function. There may be an easier example to explain how this work, > but since this was already created, I thought I would send it along. > I will try to put together a smaller example to demonstrate what > you're looking for. Hope it helps. > Best, > Andy > > On Oct 21, 10:26 am, Splash <[EMAIL PROTECTED]> wrote: > > > I am trying to create a component that sorts two lists in and > > alternating manner. > > > List 1 - A1, A2, A3, A4... > > List 2 - B1, B2, B3, B4... > > > Resulting List - A1, B1, A2, B2, A3, B3... > > > I tied a simple sort of A = X and B = X, but it seems that the script > > only can put out a variable, one at a time.
