Notifications
Clear all

[Closed] Unfolding via script in 2008 appears broken

Hi!

I’ve noticed that using unfoldMapNoParams() on a face selection no longer unfolds the group of faces correctly, instead it unfolds each face individually. Try this:

 
faceSel = $.selectedfaces as bitarray
uv = UVWUnwrap()
uv.setMapChannel 1
addModifier $ uv
uv.selectPolygons faceSel
uv.unfoldMapNoParams()

As you can see instead of unfolding the face selection neatly lining up the faces and keeping everything in proportion it just unfolds each face one at a time so everything overlaps. This worked fine in Max 8 & 9, but is now bust (along with a few other things in Max 2008’s UVWUnwrap modifier)… Unless I’m doing something wrong.