How to get bottom point of model via Mel script?
If I can get the Y-coordinate of the bottom point, I can get the point of the bottom, but I can't figure out how to get it.
Looping through all vertices can be slow, especially with a dense mesh. What can be done instead is to use the object's bounding box:
float $bb[] = `getAttr pCube1.boundingBoxMin`;
print($bb[1]); // Lowest position in Y
Another benefit of this is that you aren't relying on vertices, so it doesn't have to be a polygonal mesh.