Hey Everybody,

I am using the 2D Grid Macro to create an array of 3D objects.

The grid outputs:

- Current point index
- Total points
- X row (the total number of X instances)
- Y row (the total number of Y instances)

My grid is always equal so 6x6 / 10x10 and so on.

I feed each instance those variables as they are created.

I want to calculate the X indicator and Y indicator for each instance, from this data.

I got a bit confused with the math here.

Basically, using the array index to find out where is it located in the grid.

For example, in a 4x4 grid.

Instance number 7, is X position 3 / Y position 2.

I tried various things online but couldn’t find the right solution.

Anybody has a working method for extracting that?

Thanks in advance!

Elad