Is it possible to create a simple script to make all selected vertices to snap to closest locators. I'm still new to mel scripting. any help is appreciated.
ive been stuck on some of the coding unfortunately. I think someone beat me to quad script. (Video Demo) wait till the asian ads finish.. http://v.youku.com/v_show/id_XMTc0NjE3OTM2.html?f=4488599 Script page http://www.creativecrash.com/maya/downloads/scripts-plugins/modeling/c/zhcg_polytools-for-2012-2013---2
Yes, most scripts will work. But only if they are not the compiled. I do not upgrade to 2014 version, just looked trial. Quad fill a very cool thing. I just thought it would be nice to have a clean Quad fill script, not compiled ZhCG version. Here the idea may come in handy:
i appreciate your interest and support for this script. But i cannot guarantee that the finish version will work with maya 2014, as I dont have it yet.
I upgraded to the 2014 version had to decompile .pyc. Somehow all even works. http://www.creativecrash.com/maya/downloads/scripts-plugins/modeling/c/zhcg_tools-v1-0-zhcg_polytools-v1-51-and-zhcg_renamepro-v1-54-for-maya-2012-2014
I suggest using //Mel string $vertices[] = `filterExpand -sm 31`; for querying the selected vertices instead. You never know if the user might select something else which should not be selected for the script. filterExpand 31 ensures you get only selected vertices, see the docs for which number is used for other components.
Thanks a lot for everybodys help on this. The script works perfectly. But now i run into another problem. First I must explain the purpose for requesting this script. This is part of the main Script Im trying to write which is Quad fill (imitating Quad-cap max plugin by obliviboy). So far Ive been sampling many mel scripts…