Hi DP, you can only sort using numbers, and you can only cull using booleans. Sorting by String is something which is missing at present.
If you have a bunch of lines and polylines, you can feed them into a String parameter, this will give you a list of strings containing "Line" and "Polyline" entries. Then feed those strings into an expression f(x) component and compare x with a hardcoded String: x = "Line" This will give you a list of values (true and false) which can then be used to cull the list of curves. -- David Rutten Robert McNeel & Associates On Sep 30, 4:55 am, DP <[EMAIL PROTECTED]> wrote: > I am trying to cull or sort several curve values from "Wires" > extracting wireframe node. The "Wires.W(Curves)" states that there is: > Line, Polyline, Polyline, Line, Line. > > Is there anyway to sort curve types. For instance If I just want to > select all the Lines. I have tried the Sort, but they just return > numeric values (z-distance). Also I have tried intervals for instance > selecting 0, and then 3-4. (As Line is stored in 0, Polyline stored in > 1 etc) > > If anybody can give me some insight that would be greatly appreciated. > Thanks. > > Please find the file as reference at the below > address:http://grasshopper3d.googlegroups.com/web/09282008_initial_study.wrm?...
