How to select all polygonal meshes using MEL

Here’s a quick MEL script to select all polygonal meshes in your Maya scene.
This can come in handy when preparing render layers. Cheers!

//Select all polygonal objects in the scene
$allMeshObjs = `ls -typ mesh`;
select $allMeshObjs;
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *