Pass the selection down to the editable poly and get the connected edges from there before passing it back to the UV modifier. Something like this: vrt = $.modifiers[#unwrap_uvw].getSelectedGeomVertsByNode $ modPanel.setCurrentObject $.baseObject tmp = polyop.getEdgesUsingVert $ vrt modPanel.setCurrentObject…
This works for me if an Editable Poly or Edit Poly is below the Unwrap modifier. If it's a primitive or a mesh, the problem happens as you describe. ( --GET UVMOD uvMod = modPanel.getCurrentObject() --CHECK IF UVMOD IS SELECTED if classof uvMod == Unwrap_UVW do ( --EXPAND AND CONVERT SELECTION…
I made a slightly faster version (it's missing the checks FishMans script has and unwrap needs to be the first modifier, but those should be easy enough to fix), the most expensive calls seems to be the conversions, setters and getters. I'm guessing that the relation between vert/edge/faces neighbours aren't stored and…
Here I did it... after 4 years, lol :D I've found this thread in google. I hope you still need this... lol It's unoptimized and slow though. If someone can help to speed it up - I will appreciate. Here is the code (slow, but should work for instanced modifier): And another one (faster, but will work only for single object…