[Closed] Array: append only unique items
Hi,
So Im not sure how to make the array append only unique items. It would be much better than makeUniqueArray(). Especially when the array takes up to thousands of items, and then at some point I delete some of the items, which then later stay as <Deleted scene node> and no way I can remove those from the array as well.
So any idea how to append only unique?
Yes I thought that there should be aldready function for that, thank you!
Jeeeez this maxsript help, why dont they spend some time to make it more useful, like maya or houdini help
Okay I am a little lost on this. AppendIfUnique is the entry right above MakeUniqueArray in the help file. So curious how you found one and missed the other?
Or in the listener:
apropos "*uniq*"
appendIfUnique (const Primitive): appendIfUnique()
uniqueName (const Primitive): uniqueName()
crowds.assignUniquePriorities (Primitive): assignUniquePriorities()
custAttributes.makeUnique (Primitive): makeUnique()
makeUniqueArray (const Primitive): makeUniqueArray()
Trust me in no way is the help file perfect, but don’t blame them cause you didn’t scroll uphalf a page or search the array page for “unique”. There are missing/undeocumented entries for things like <xrefscene>.overlay which cannot be obtained through any of the object inspection methods.
-Eric
thats true all my mistake. But dunno how I missed it Thats how usually you make mistakes