ThunderTurtle
03-09-2004, 09:13 AM
Hi guys,
I've run into another snag with a script. I'm trying to do a batch job adjusting the UV maps for a large number of characters. They are all based off the same model with the same basic UV setup. I've got it to the point that I can open the files, apply my UV-unwrap, select the points, but not move them.
If anyone knows the command to move a point inside the unwrap modifier i'm in need.
I've tried Maxscript listener, and other options based off of 'move $.modifiers[#unwrap_uvw].unwrap.selectedVerts'and 'getVert/setVert' but I havnt had any luck.
The following is from the Maxscript Listener. The vert number and positions are arbitrary. It all works until the last line.
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.move ()
$.modifiers[#unwrap_uvw].unwrap.edit ()
$.modifiers[#unwrap_uvw].unwrap.selectVertices #{28}
$.modifiers[#unwrap_uvw].unwrap.move [0.0392817,-0.0785634,0]
Thanks for the help.
-Travis Gosnell
I've run into another snag with a script. I'm trying to do a batch job adjusting the UV maps for a large number of characters. They are all based off the same model with the same basic UV setup. I've got it to the point that I can open the files, apply my UV-unwrap, select the points, but not move them.
If anyone knows the command to move a point inside the unwrap modifier i'm in need.
I've tried Maxscript listener, and other options based off of 'move $.modifiers[#unwrap_uvw].unwrap.selectedVerts'and 'getVert/setVert' but I havnt had any luck.
The following is from the Maxscript Listener. The vert number and positions are arbitrary. It all works until the last line.
modPanel.addModToSelection (Unwrap_UVW ()) ui:on
$.modifiers[#unwrap_uvw].unwrap.move ()
$.modifiers[#unwrap_uvw].unwrap.edit ()
$.modifiers[#unwrap_uvw].unwrap.selectVertices #{28}
$.modifiers[#unwrap_uvw].unwrap.move [0.0392817,-0.0785634,0]
Thanks for the help.
-Travis Gosnell
