# encoding:utf-8

import maya.cmds as cmds

def getGroupAllDecendShapeNodes(group_name):
    """
    """
    shapeList = cmds.ls(group_name, dag=True, shapes=True)

    return shapeList


@@ -180,8 +180,324 @@
 peList%0A%0A
+def getShapeSiblings(shape_node):%0A    %22%22%22%0A    %22%22%22%0A    parent = cmds.listRelatives(shape_node, parent=True)%0A    shape_list = cmds.listRelatives(parent, children=True)%0A%0A    if len(shape_list) %3C= 1:%0A        print(%22shape have no sibling%22)%0A        return None%0A    %0A    shape_list.remove(shape_node)%0A%0A    return shape_list

add get shape sibling node function