[Closed] maxscript for Uv loops
Heyo all,
on my last project I realized there seemed to be no shift+click uv loop/ring selection to go along with graphite’s shift+click poly Ring/Loop selection. Unless I’ve missed it or theres already a script to do so
So I hacked together something using a “subobjectSelectionChanged” callback to get it working, but I’ve run into one snag in that I can’t think of a way to detect if the user’s selection was from the viewport vs. the uv editor.
This is important because it defines whether to use Geo-topology or UV-topology for the ring/loop.
I was wondering if any of you awesome dudes had any ideas. I’m currently interpreting selections as being within the UV editor because I mostly used it in the UV editor vs the viewport but that may not be true for everyone. As such, the loop/ring ends at any UV seam – not always what you might want!
any ideas would be greatly appreciated!
since this script relies on mouse selection, I ended up just checking if the mouse was within the UV editor and then it’d do a UV loop, and if not it’d do a geometry loop.
if anyone’s interested, you can check out my scripts page