Aha, nevermind. Googled the answer by accident. It appears I needed "as array" at the end of the first line, so; selVerts = $.modifiers[#unwrap_uvw].unwrap.getSelectedVertices() as array Feel free to delete this thread, sorry :P
I'm trying to write some simple UV tools, but I'm running up against some oddities with arrays. I'm no MaxScript expert, so I'm probably doing something wrong somewhere. I'd started off with trying to find out the UV coords of the selected vertices in the Edit window of an Unwrap UVW modifier. The code is;selVerts =…