Select Shape Node From Transform

hy,

say i have 5 objects. i select two and i want to invert the selection
and turn primary visibilty off for the other 3.
i tried using the command invertSelection, but that will select the
transform nodes and somehow i can't select the shapeNodes with
listRelatives.

help please

QUOTE(pete1973 @ 07/22/06, 03:19 AM) [snapback]243078[/snapback]
somehow i can't select the shapeNodes with
listRelatives.

erm, listRelatives only LISTS it's relatives. I'd suggest using the select command typically you only actually select transforms. Selecting shape nodes doesn't happen in Maya unless you script it.

Alt+h