Grow Selection tool not working for me

I am using the Gnomon training DVD. In one section I am supposed to use the Grow Selection Region tool to grow my selection of polygon faces. But, every time I select some polygon faces and hit Grow Selection Region, it de-selects the faces I have already selected instead of adding faces to selection.

Kori

I turned on my computer this morning and my Grow Selection Tool worked fine. The only thing I can think of is that I was working on the model using my Subdivide, Split Polygon tool and a few other poly tools before I started having problems with my Grow Selection Tool. Something I did corrupted the system memory or model. I tired shutting down the Maya program and restarting, but evidently that was not enough. I should have turned the computer off to clear the memory. Anyway, next time it happens I will know.

Kori

This tool craps out on me from time to time as well. A restart of Maya always fixes it. Next time it happens, I will try and remember to take the time to troubleshoot it instead working around it.

–JeffD

Yeah ive noticed it craps in maya 5.01 but havent seen it crapo in 4.5

I’ve ran into this bug, and crushed it.

The problem is in the PolySelectTraverse script and the polyListComponentConversion command. It looks like they are using the polyListComponentConversion (pLCC) command to determine the selected component type. For some reason, pLCC will start to output vertices even tho faces, edges, or uvs are selected. So if you change the PolySelectTraverse script to use filterExpand instead (pLCC is a very strange choice anyway) it will work consistently. Here is my version of PolySelectTraverse:

global proc PolySelectTraverse(int $traversal)
{
string $result[];
// Vertex first
$result = filterExpand -sm 31;
if (size($result) > 0)
{
polySelectConstraint -pp $traversal -t 0x0001;
}
else {
// Then edges
$result = filterExpand -sm 32;
if (size($result) > 0)
{
polySelectConstraint -pp $traversal -t 0x8000;
}
else
{
// Then faces
$result = filterExpand -sm 34;
if (size($result) > 0)
{
polySelectConstraint -pp $traversal -t 0x0008;
}
else
{
// Then uvs
$result = filterExpand -sm 35;
if (size($result) > 0)
polySelectConstraint -pp $traversal -t 0x0010;
}
}
}
}

However, this does not address the issue of why PolyListTraverse is inconsistent.

Also, I’d recommend backing up PolyListTraverse in case this breaks something else.

Thank you for that solution. Working fine now and doesnt seem to cause any trouble at all.
Had this prob on 6.01 for a while now.

/Jan Davidsson