Not sure what your asking.. are you asking how to duplicate a vertex or an object? If its an object and you have a vertex selected. you can get the object name with `ls -hl`. also a better board might be on CGTalk. on the Mel thread.
$Sel = `ls -sl -fl`; select $Sel[`size $Sel` -1]; since the array starts at 0, to select the last object you have to subtract 1 from the size of the array.
Hi everyone.., can any one help me to make a mel script which by clicking on the button does the below all at once.. 1. creates a new layer with the selected objects with a specified name (for ex : dummy layer) . ----> for each and every object in the master layer has its own shader and one alpha map in their shader…
Hi everyone.., can any one help me to make a mel script which by clicking on the button does the below all at once.. 1. creates a new layer with the selected objects with a specified name (for ex : dummy layer) . ----> for each and every object in the master layer has its own shader and one alpha map in their shader…
Hi polycounters ! 0/ Since a few hours (maybe more) I'm trying to learn and make a custom tool for Maya and my workflow. I have already programmed in C++ in the past, so the Mel language is not so hard to understand for me. The hard part is to find the name of the various function inside maya, but even with that, I still…
Thanks a lot guys ! With your help it's now working ! :) I'm trying now to acheving something more complex. I would like to change a little the way of how maya select object. My purpose is when a vertex is selected and I try to move it, I would like to duplicate it. I know hot to do this, what I don't know is of to make…