Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Maya Edges problem, appear in object mode (https://simplymaya.com/forum/showthread.php?t=32563)

NextDesign 27-06-2009 02:52 AM

Here you go. Select the object, and then run the script. Preferably map it to a shelf icon, or to a hot key.

Code:

string $selObj[] = `ls -sl`;

if ($selObj[0] == "")
        error "No object has been selected";
else
{
        select $selObj[0];
        int $numEdges[] = `polyEvaluate -e`;
       
        select -r ($selObj[0] + ".e[0:" + ($numEdges[0] -1) + "]");
        select -cl;
        select $selObj[0];
       
        print "Edges Cleared!\n";
}


dubai3d 28-06-2009 07:55 AM

thanks next design, I am going to try this, thank so much for making the script, you are really helpful

NextDesign 28-06-2009 05:24 PM

Glad to help out!

dubai3d 10-10-2009 10:56 AM

thanks next desing
since this day that you post this scrip I am using it, it s amazing and really good and works very well, I save alots of time and I am relax now(no more frustrated) , thanks and please wrap it as mel script and send it to others if someone need it, I am sure everyone needs this mel script if you are working as modeling,

thanks and great work


All times are GMT. The time now is 02:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018