ronviers
12-12-2008, 09:43 PM
Here is the way I have found to select the shape node:
string $results[]=`spaceLocator`;
string $tempShapeName[]=`ls -sl -dag -s`;
setAttr ($tempShapeName[0]+".visibility") 0;
But this doesn't seem very good. Is there a simpler way to do this?
string $results[]=`spaceLocator`;
string $tempShapeName[]=`ls -sl -dag -s`;
setAttr ($tempShapeName[0]+".visibility") 0;
But this doesn't seem very good. Is there a simpler way to do this?
