Hi! im trying to select an edge of a polygon plane and subdivide it while leaving the rest of the edges unmodified. However, when i performed the following MEL script, all the four edges are subdivided.
Btw, if i replace the variable $myPlane with an absolute name such as myPlane and execute the script directly on the script editor, it will perform as expected. What actually goes wrong?
thing is you cant rely that maya named like you said bacuase maya will make sure there are no naming cuplicates, sencondly your not assembling the edgename right.
CODE //support proc makes reading the script easier, and futher coding too proc string getSArrayFirst(string $array[]){ return $array[0]; }
thing is you cant rely that maya named like you said bacuase maya will make sure there are no naming cuplicates, sencondly your not assembling the edgename right.
CODE //support proc makes reading the script easier, and futher coding too proc string getSArrayFirst(string $array[]){ return $array[0]; }