ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
List = #(1,2,3,4,1,2)
List02 = #()
PreviousValue = #()
sort List
for element in List do(if element != PreviousValue then append List02 element
PreviousValue = element)
List = List02
Comments
makeUniqueArray
You can simply use
makeUniqueArray MyArray --returns #(1, 2, 3)Cool!!!Thanks a lot.I had
Cool!!!
Thanks a lot.
I had figured out this workaround:
But nothing's shorter than 'makeUniqueArray'
Thank you very much.
Ewok