cmds.listRelatives(cmds.ls(sl=True)[0], ad=True, type="mesh") it will give
you all the mesh under your selection

On Fri, Jun 19, 2015 at 2:51 PM, <[email protected]> wrote:

> I'm in need of a method to print out the names of the geometry in a
> selected group node. Any ideas? Even if it is inside another group or
> complex group hierarchy.  Example. I select a group node "Heart", print the
> names of the geo in this group.
>
> -Brian
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/f22393a4-8a51-449a-bed3-c8367a3c2a67%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
--:: Kurian ::--

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CANEMyhMcVA7wWBJRyjkCVFFxaQiBQ7ZAJW9XJO1MTf02jgyxTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to