Number of vertices in object ?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  06 June 2003
Number of vertices in object ?

Hi ,

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 June 2003
the polyEvaluate command can tell you a lot of attrs of a polymesh

int $numberOfVertex=' polyEvaluate -vertex`;
  06 June 2003

proc int mhNumVerts(string $obj)
select -r $obj;
PolySelectConvert 3;
string $selected[] = `ls -sl -fl`;
int $numVerts = size($selected);
return $numVerts;
mike hovland
lead technical artist

Life beats down and crushes the soul... art reminds you that you have one. - Stella Adler
  01 January 2006
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

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
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

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

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.