def shapeNameFix(shape):
    '\n\tFix incorrectly named geometry shape node\n\t@param objList: List of objects to check for valid shape names.\n\t@type objList: list\n\t@param typeList: List of shape types to check for valid names.\n\t@type typeList: list\n\t@param skipIntermediates: Skip intermediate shapes\n\t@type skipIntermediates: bool\n\t'
    parent = mc.listRelatives(shape, p=True)[0]
    shapeName = (parent + 'Shape')
    if mc.objExists(shapeName):
        raise Exception((((('Shape "' + shapeName) + '" already exists! Unable to rename shape "') + shape) + '"!'))
    newShape = mc.rename(shape, shapeName)
    return newShape
Fix incorrectly named geometry shape node
@param objList: List of objects to check for valid shape names.
@type objList: list
@param typeList: List of shape types to check for valid names.
@type typeList: list
@param skipIntermediates: Skip intermediate shapes
@type skipIntermediates: bool
def shapeNameFix(shape):
    '\n\tFix incorrectly named geometry shape node\n\t@param objList: List of objects to check for valid shape names.\n\t@type objList: list\n\t@param typeList: List of shape types to check for valid names.\n\t@type typeList: list\n\t@param skipIntermediates: Skip intermediate shapes\n\t@type skipIntermediates: bool\n\t'
    parent = mc.listRelatives(shape, p=True)[0]
    shapeName = (parent + 'Shape')
    if mc.objExists(shapeName):
        raise Exception((((('Shape "' + shapeName) + '" already exists! Unable to rename shape "') + shape) + '"!'))
    newShape = mc.rename(shape, shapeName)
    return newShape