A-kun
Hi I simply want to have the same pointNumber between distant primitives. so I used foreach node to run the wrangle to get the same numver between them but I feel this is not smart way so would like to do the same thing just in vex.
If you mean to get the same point indices between different prims, you can just create a new points array for each prim like so:
int indices [ ] = array ( ); int pts [ ] = primpoints ( 0, @primnum ); foreach ( int index; int pt; pts ) append ( indices, index ); i[]@indices = indices;