got your PM, is it something you want to contribute or is it more personal? because either way I could implement it for you. I designed the GUI in a way that all scripts are seperate *.ms files with a single function in them. The main script that builds the floater then loads the function and calls it from one of the…
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 =…
Yeh, I figured it out in the end, cheers guys. I was just confused as to what it was doing as the Maxscript listener displays it as a regular array with the vertex IDs, so I thought that's what I was getting. Got my UV align scripts working. Now I just have to figure out how to stuff it into the interface :P
Ok i figured it out. The behaviour you get is correct. The function getSelectedVertices() returns a bitarray. This means a bit can be turned "on" or "off", 1 or 0, true or false. The documentation says this: BitArray ValuesOperators <bitarray>[<integer>] Yields true if selected, else false You will have to search another…