Thanks @Nanhua, that does indeed work, nice and simple too! Thank you very much!!
Thanks guys I’ll try that tomorrow!
Yep, @Serejah, that is hella ugly but I can see that’s one way to do it!
UAC is probably the best way to stop maxscript from being able to delete anything important.
I reported the problem to Autodesk, no easy work-around I’m afraid! Might have to wait until 2019.1
I have never seen that style of code before… What is the difference between that and… for obj in (geometry as array) do point transform:obj.transfo…
One day, Denis will share his max goodie box and the world will rejoice.
I was thinking as just a general array method not specifically for this use-case. I find myself often instanciating an array, and then using appendif…
@Denis, have you ever written your own collectIfUnique() function? Would have thought it would have been right up your street for code line optimisa…
It’s also worth noting that although Autodesk may not get back to you about individual CERs a large collection of similar CERs will push a bug fix up …
I’m amazed and surprised that works… but good to know!