Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
{
polySelectConstraint -m 3 -t 0x0001 -w 1;
string $openBorderVtx[] = `ls -sl -fl`;
polySelectConstraint -m 0 -w 0;
dR_modeVert;
string $storeBorderVtx[];
for {$verts in $openBorderVtx)
{
select -r $verts;
float $colorQuery[] = `polyColorPerVertex -q -g`;
if ($colorQuery[0] == 1)
{
$storeBorderVtx[`size($storeBorderVtx)`] = (`ls -sl`);
}
}
select -r $storeBorderVtx;
}
I have no idea why is wrong with this code. Im just trying to query vertices that are green. the syntax error is driving me nuts.
https://www.artstation.com/kelvintam
Solved! Go to Solution.