Select all objects in group (Maya)

Got pretty annoyed about not finding a way to select all objects inside of a group in Maya, so wrote a little code snippet that does it for me.

[python]import maya.cmds as cmds
cmds.select(cmds.listRelatives(cmds.ls(selection=True), children=True))
[/python]

3 Comments
  • Hi Zeno, big fan of your work and I’m pretty much the same age aspiring to do the same things - congratulations on your MPC intern by the way!

    I saw your blog post about Maya select all in a group, you can select one object and hit the up arrow key to select the group?

    Regards
    Reis

    June 11, 2014 at 12:17 pm
  • jx
    Reply

    what about right-click -> select all in hierarchy?

    August 25, 2017 at 6:25 pm

Post a Comment

Powered by themekiller.com