Hi Denis and Jorge,
Thank you for replying. I guess I have spawned a nice contest between the two of you. But I have the feeling you do that a regular basis here at CGTalk? 
I have tried the script Denis posted, but the function still takes about 2 minutes.
And I couldn’t really follow your discussion from there on.
Jorge, you stated you have ‘a different MXS approach’ that is much quicker. Would you like to share that one?
I’m also really interested in using the SDK, but I haven’t ever used it before, although I’m familiar with Visual Studio and can program quite a bit in C++.
I have already scripted a lot of functions in Maxscript, but I guess the SDK would do all of that much faster.
Only thing is that I don’t know how steep the learning curve is and I’m limited in my time.
Is it doable with the SDK or is one of you open for business?