Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 27-06-2009, 03:52 AM   #16
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,982
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 04:03 AM.
NextDesign is offline   Reply With Quote
Old 28-06-2009, 08: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, 06:24 PM   #18
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,982
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, 11: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
Reply


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

Thread Tools





A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.