Is there a way to show selected points in world position in Maya ? I'm trying to understand repeat command at mouse position, if you move a point on a mesh what is it related to; world or local position because, if you repeat the same command on another point on the mesh the results are not the same as was the first point ?
You're using the -anchorPoint to get the mouse position,but like the documentation says : Which means it will only give you the mouse position when you click somewhere in the viewport.First you need to declare the -pressCommand flag and give it a procedure or any other command to execute.The procedure we are talking about…
If one position of a point is here; Mouse position : 947 540 0. Then it must be possible to take that point and select, like symmetrical do the same thing on another point except opposite world coordinates by storing it into a empty array, selecting another point and applying the same world coordinates to the other point…
MPosition is the name of your context tool here. That's because you're trying to create a context tool twice,which is technically impossible since two tools can't have the same name AFAIK. The line "setToolTo MPosition" is all you need to start the tool if you have already run it at least one time in a Maya session.To make…