View Full Version : Number of vertices in object ?
06-11-2003, 11:53 AM
OK, guys, a beginner's question - is there a MEL command that returns the number of vertices for an object? I'm trawling through the library, but I haven't found anything yet.
06-11-2003, 12:44 PM
the polyEvaluate command can tell you a lot of attrs of a polymesh
int $numberOfVertex=' polyEvaluate -vertex`;
06-11-2003, 05:37 PM
proc int mhNumVerts(string $obj)
select -r $obj;
string $selected = `ls -sl -fl`;
int $numVerts = size($selected);
01-15-2006, 09:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2015, Jelsoft Enterprises Ltd.