use this (if your UV needs to be checked if its active)if classof (modPanel.getCurrentObject()) == Unwrap_UVW then( another more generic way (checking if there is any UVunwrap modifier inbetween or ontop or bottom:if (selection[1].modifiers[ #unwrap_uvw ] != undefined) then( and for the UV class instance then:local uv =…
btw. there is alternatively also$.modifiers[#unwrap_uvw].unwrap2.stitchVertsNoParams() which wont open the dialogue box and use instead your last settings edit: my suggestion to your code:macroScript stitchverts category:"raino"( if (selection.count > 0)then( if (selection[1].modifiers[ #unwrap_uvw ] != undefined) then(…
erk, tried to make it context sensitive, but max throws false when i type this: if $.modifiers[1] == Unwrap_UVW then print "true" else print "false" even though the first modifier is a unwrap uvw. i tried #unwrap_uvw as well, no go. and typing $.modifiers[1] to find the type doesn't work either... grrr.
arh, i figured out a workaround too: macroScript stitchverts category:"raino" ( if $.modifiers[1].name == "Unwrap UVW" then ($.modifiers[#unwrap_uvw].unwrap2.stitchverts true 0.0 ) ) neverrmind, your way is probably better and less hacky. plus it'll work when the UVW unwrap is something else than the first object, and if…
macroScript stitchverts category:"raino" ( if classof (modPanel.getCurrentObject()) == Unwrap_UVW then($.modifiers[#unwrap_uvw].unwrap2.stitchverts true 0.0 ) else print "you need to apply a UVW unwrap modifier" ) complete script. hmm, would be better if its in the unwrap UVW group though.
Could this script be made to work with 2009's multi-unwrap? If there's an Unwrap UVW modifier applied to multiple models, the script complains about not being able to find the modifier. Any ideas? I'm really liking the script, by the way. Nice interface, as well. Thanks for the all the work you're putting into this
I think chuggnuts UV tools modifies or all together gets rid of that floater. If I remember correctly it overwrites the main unwrap script(s) with modified versions from that time (max 4, 5, or 6?). I think Pior would need to get fresh copies of the scripts it overwrites?
I used your renderUV script and mixed with one of mine. Now the script count black pixel on the uv map, and drop a percentage of "wast uv space" depending on the wanted size of the map. result just below my code is perhaps not very optimised, but its working well on editpoly object just select an editObj and run the script…
I was wondering if it was possible to write a script/plugin which would alllow you to apply an fdd/cage/freeform modifier to a planar map gizmo in the uvw map modifier in 3ds max. This would allow you to deform a planar map around complex objects. I have tried with poor results and very limited control to use the new…