Hello.. David..
I think the SetDataList method seems to behave a little differently compared to others.
The SetDataList method increases path dimension.. i.e. adds a meaningless index to paths at the end..
So, many components using the method have an additional index on Output Data Set..
Shift.. Reverse.. Insert.. Replace.. Split.. Subset.. Sort.. P'n'C.. Weave.. in List Components..
Cull components.. Series.. Range.. Sequence.. Repeat.. Duplicate.. Fibonacci.. Jitter.. Random.. All Sequence Components..
Otherwise..
List Item or List Length, originally designed for one output and might use SetData(),
don't increase any meaningless index..
I think it is because of the SetDataList() has path.AppendElement() internally..
It would be better, if this is fixed not to increase meaningless index..
Some beginners of Grasshopper are confused by too much long paths..
And Path Mapper will be not changed manually as often as it is now..
----
I attached a simple image comparing Item, List and Tree Access results..
They all have only one script.. "A=x;"
David Rutten
Hi Jissi,
the extra dimension is not meaningless. If you add multiple items in the input, the extra index start to have meaning. I don't want the components to behave differently when they operate on multiple items, which is why the extra dimension is always added, even when it doesn't in fact provide new information.
Changing it now would also mean that probably every Grasshopper file out there that uses Path Mappers will become invalid, which is not a sacrifice I'm willing to make lightly.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Dec 13, 2011