Create Array of Vertices from Picked Points

What would be the easiest away to return an array of arrays representing picked points?

I am in a bit of a jam as I can only evaluate each vertex obtained from an array parameter pick via a ForEachEntity, which then leaves me stuck as I can't return the evaluated vertex during each round of ForEachEntity to something outside of that loop.

Comments

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,116 image
    You don't have to use ForEachEntity, it's just there for convenience. Array parameters have indices so you can access all parameters of all arrays in one single loop if needed.
    Senior Director, Technical Services, EMEA