Object’s size and geometry info?

53 views
Skip to first unread message

Gray Marshall

unread,
Jan 18, 2021, 1:19:52 AM1/18/21
to Python Programming for Autodesk Maya
Tried to look it up, but not having any luck...
Is there a way to find info on a object, such as, number of faces and number of vertices?

TIA

Blackwell ST

unread,
Jan 18, 2021, 1:47:39 AM1/18/21
to python_in...@googlegroups.com
Hey man,

I think the “polyEvaluate” command can query vertices, faces, edges, and more :)

On Jan 18, 2021, at 12:19 AM, Gray Marshall <graymar...@gmail.com> wrote:

Tried to look it up, but not having any luck...
Is there a way to find info on a object, such as, number of faces and number of vertices?

TIA

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/01d85139-f79f-4ebb-9f56-ba4578cbaf9an%40googlegroups.com.

Gray Marshall

unread,
Jan 18, 2021, 1:54:35 AM1/18/21
to Python Programming for Autodesk Maya
That looks perfect!  Thanks!

Tim Fowler

unread,
Jan 26, 2021, 12:05:19 PM1/26/21
to python_in...@googlegroups.com
Off the top of my head I can't remember if polyEvaluate includes a
world space conversion or not, so people usually suggest also taking a
look at the "exactWorldBoundingBox" command if you're needing that.

-Tim
Reply all
Reply to author
Forward
0 new messages