PDA

View Full Version : Unfold Not working


Myanko
08-29-2007, 04:19 PM
Hi,

I was tryng to make a script that select all faces in the unwrap and make an unfold on it.
Soo I am creating a new unwrap modifier on my obj, then I switch the map channel to 2, I run a basic unfold command that is normaly working when it's executed alone. But it's not working after those steps. I was also try to make a face selction and switching to polygone mode but it was still not working.


modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
$.unwrap_uvw.unfoldMap 1

Thank for your help.

PiXeL_MoNKeY
08-29-2007, 04:58 PM
Looks like you forgot to select any faces. Set the SO mode to 3 and then select all faces and it will work.

modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
subobjectLevel = 3
actionMan.executeAction 0 "40021" -- Selection: Select All
$.unwrap_uvw.unfoldMap 1
-Eric

CGTalk Moderation
08-29-2007, 04:58 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.