SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Maya Edges problem, appear in object mode
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 27-06-2009, 02:52 AM   #16
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

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";
}
__________________
Imagination is more important than knowledge.

Last edited by NextDesign : 27-06-2009 at 03:03 AM.
NextDesign is offline   Reply With Quote
Old 28-06-2009, 07:55 AM   #17
dubai3d
Registered User
 
Join Date: May 2008
Posts: 245
Thanks: 0
Thanked 35 Times in 33 Posts
Default

thanks next design, I am going to try this, thank so much for making the script, you are really helpful
dubai3d is offline   Reply With Quote
Old 28-06-2009, 05:24 PM   #18
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Thanks: 33
Thanked 532 Times in 471 Posts
Default

Glad to help out!
__________________
Imagination is more important than knowledge.
NextDesign is offline   Reply With Quote
Old 10-10-2009, 10:56 AM   #19
dubai3d
Registered User
 
Join Date: May 2008
Posts: 245
Thanks: 0
Thanked 35 Times in 33 Posts
Default

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
dubai3d is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Moderators on Simply Maya Miss_Nova Site News & Announcements 21 17-05-2011 12:24 AM
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 06:26 PM
Maya Hair/Polygon Error ingram_no.7 Members Lounge 13 10-12-2010 10:27 AM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM
Open a Lightwave file in Maya 2011 radiant777 Maya Basics & Newbie Lounge 2 04-12-2010 02:45 AM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.