I would like to extract the first and last points (coordinates) from a list. I’m aware of the tree statistics and member index components, though my list lengths will vary depending on previous inputs so therefore the index number of the last point will vary.
Is there a function available to extract the data from the First or last point?
The index for the first item is 0 and for the last item is -1. Thanks,
i can eigther make the panel say 0 or -1. Can you Show me what I have to type into the panel to have 2 different values?
Right click Multiline data
In addition to the methods already described, the List Item component, (like many other components), has a ZUI, (Zoomable User Interface), that allows you to add additional outputs when you zoom in close on a component, (if a particular component allows, it also provides the ability for adding additional inputs, but this is not true for all components).
In this case, if you add an output “above” the default i output, it will add -1.
I do these operations very often so I have created three user objects for speed. inside they have more or less the methods shown by the others
ss.gh (15.9 KB)
thanks a lot everyone. ZUI worked very well