Python replace value

I want to replace items of a list with index numbers.
It does not work.

01AA problem inside brep.gh (18.6 KB)

pList_val[p]=obst should be pList_val[i]=obst

1 Like