Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39513

Combine values to a nested list

$
0
0

@Edward wrote:

Let’s say I want to judge every coordinate of a list.
First, I need to make the guide be recognized as a list of X,Y,Z coordinates.
Then, I have to add a value, let’s take -2, to judge them.

It will look something like:
[[0,0,2],[-2]],
[[0,0,3],[-2]],
[[0,0,4],[-2]],
[[1,0,2],[-2]],
[[2,0,2],[-2]]

Why I combine these together? Because I want to give every coordinate a value and change those values later through the proces to manipulate the list.

01AA problem combine values.gh (14.8 KB)

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 39513

Trending Articles