AnsweredAssumed Answered

How do I count unique elements in an array and also split an array up based on the unique elements?

Question asked by Keng Munn Foong on Jul 16, 2018
Latest reply on Jul 16, 2018 by Keng Munn Foong

Hi all,


Firstly, I would like to know if it were possible to count the number of unique elements within an array. Right now, I am able to select objects from the cut list tab in the featuremanager design tree and populate an array with its description, however, I need to be able to split that array up into several separate arrays based on its type. For example, I have 3 x (40x40x4), 2 x (50x50x5), 1 x (60x60x5) cross-sections within 1 array, each element having different lengths, but i need 3 arrays respectively.


Kind regards,

Keng Munn