Dear dynamo experts!!
I am now learning how design script works, and I am trying to translate each points in a list using for loop,
see pic below
I have a list of points O_T_P, and a list of points to translate to LO_P_X = [-6.5,-6.5,-5,5,5,6.5,6.5] and LO_P_Y = [0,2,2,5,5,2,2,0], I want to use for loop to translate each point in list O_T_P.
my code is below
I’ve looked how for loop works, and tried it, but it didn’t work, it gives me undefined O_T_P