Hi everyone!
i'm going to try a script create a dummie into each epoly element, i've try some ways but i dont get to store the Unique elements into Array, i've got to save every elements by face but i dont get to delete duplicated elements, its a array with BitArrays.
I know this question is very noob

Thanks !!
Replies
Maybe i'm going for bad way.
how can i do that you say ?
Rather than automatically appending in the first for loop you should check if the current face is present in any of the existing bitarrays in allFaceElements - if it is, you don't need to bother with it.
that way you should end up with unique list of bitarrays
i'll try to do that!
thank so much!
( <br> function SelectElements obj =<br> (<br> local poGetElementsUsingFace = polyop.getElementsUsingFace<br> elementsArr = #()<br> objFacesBA = #{1..(polyop.getNumFaces obj)}<br> while not objFacesBA.isEmpty do<br> (<br> faceIdx = (objFacesBA as array)[1]<br> objElementBA = poGetElementsUsingFace obj #(faceIdx)<br> append elementsArr objElementBA<br> objFacesBA -= objElementBA<br> )<br> elementsArr<br> )<br><br> uniqueElementsArr = SelectElements $<br> <br> print uniqueElementsArr<br>)thank you so much! ^^
Finally i have found how to post the code as a code.