PDA

View Full Version : How To: Find a 5-point Poly and select it?

 Viekoslav05-06-2003, 07:15 PMFind all 5-point polys and select them using MEL. Any thoughts on this? Basically something similar to Lightwave's Statistics Panel. Any help would be appreciated. Viekoslav
Viekoslav
05-06-2003, 09:05 PM
Just found the solution to my own problem:

polyCleanupArgList 3 { "1","2","0","0","1","0","0","0","0","1e-005","0","1e-005","0","1e-005","0","-2","0" };

:beer:

wgreenlee1
05-06-2003, 09:58 PM
nevermind I see what you did..:thumbsup:

wgreenlee1
05-06-2003, 10:31 PM
Thanks.
I added that command to my Poly shelf with this icon...
For anyone else wanting to use this.

Viekoslav
05-06-2003, 11:07 PM
Nice Icon!

Viekoslav
05-07-2003, 06:02 AM
For this to work you have to select an object first!

Select All Triangles:

polySelectConstraint -m 3 -t 8 -sz 1;
polySelectConstraint -dis;

polySelectConstraint -m 3 -t 8 -sz 2;
polySelectConstraint -dis;

polySelectConstraint -m 3 -t 8 -sz 3;
polySelectConstraint -dis;

-m 3 applies the constraint to this selection and future ones.

-t 8 picks only faces.

-sz [0,1,2,3] Off, triangles, quads, nPoly constraint.

and at the very end the flag -dis turns all constraints off.

Now lets hope I can get a toggle of this working and I'll be a happy man!

wgreenlee1
05-07-2003, 10:05 AM
What do you mean by toggle?
Are you going to put all the seperate commands on one menu?

A quickway to turn them off is to left-click into deadspace...

Here the way I have them set up so far..
1.ExtrudeEdge Keep faces together....from another thing I was doing today...

2."Where Tris?",thats what I'm calling it til I see what youre doing...