def deleteDisplayLayers():
    '\n\tDelete all display layers\n\t'
    displayLayers = mc.ls(type='displayLayer')
    displayLayers.remove('defaultLayer')
    if displayLayers:
        mc.delete(displayLayers)
    return displayLayers
Delete all display layers
def deleteDisplayLayers():
    '\n\t\n\t'
    displayLayers = mc.ls(type='displayLayer')
    displayLayers.remove('defaultLayer')
    if displayLayers:
        mc.delete(displayLayers)
    return displayLayers