polyop.setMapVert not work

This widget could not be displayed.

polyop.setMapVert not work

Anonymous
Not applicable

Currently,i try to make a UV align tools,when i use polyop.setMapVert to change uv point position,it does not work.

 

even i try to polyop.setMapVert $ 1 0 [0,0,0],there was nothing change at all.

 

any help?

 

Thanks!

0 Likes
Reply
452 Views
1 Reply
  • UV
Reply (1)

Swordslayer
Advisor
Advisor

@Anonymous wrote:

even i try to polyop.setMapVert $ 1 0 [0,0,0],there was nothing change at all.


First, you cannot set a 0-index map vertex, maxscript indexing starts with 1. Second, in your code you use in one branch verts selected in unwrap modifier - why would you use polyop.methods after that (since that won't update/change unwrap at all, only the baseobject) and not unwrap methods instead?

0 Likes