(SHOP_RED, material_VRAY)
Create RED Material based on VRAY material parameters
    :param SHOP_RED - SHOP network for RED materials
    :param material_VRAY - source VRAY material
Create RED Material based on VRAY material parameters
    :param SHOP_RED - SHOP network for RED materials
    :param material_VRAY - source VRAY material
Create RED Material based on VRAY material parameters : param SHOP_RED - SHOP network for RED materials : param material_VRAY - source VRAY material
def buildMaterial_RED(SHOP_RED, material_VRAY):
    '''
    Create RED Material based on VRAY material parameters
    :param SHOP_RED - SHOP network for RED materials
    :param material_VRAY - source VRAY material
    '''
    print '>> Current material = {}'.format(material_VRAY.name())

    # Create RED material container
    material_RED = SHOP_RED.createNode('redshift_vopnet')  # Create RED Material container with redshift_material1 node
    material_RED.setName(material_VRAY.name())
    material_RED.moveToGoodPosition()
    nodeRSM_RED = material_RED.children()[0]  # Get redshift_material1 node

    # Get list of VRAY material nodes
    listNodes_VRAY = material_VRAY.children()
    # Get VRAY vopsurface node
    node_VRAY = extractVrayVopsurfaceNode(listNodes_VRAY)

    # Create RED shader and copy Vray parameters
    buildShaderNetwork_RED(material_RED, nodeRSM_RED, node_VRAY)
def buildMaterial_RED ( SHOP_RED , material_VRAY ) : print '>> Current material = {}' . format ( material_VRAY . name ( ) ) # Create RED material container material_RED = SHOP_RED . createNode ( 'redshift_vopnet' ) # Create RED Material container with redshift_material1 node material_RED . setName ( material_VRAY . name ( ) ) material_RED . moveToGoodPosition ( ) nodeRSM_RED = material_RED . children ( ) [ 0 ] # Get redshift_material1 node # Get list of VRAY material nodes listNodes_VRAY = material_VRAY . children ( ) # Get VRAY vopsurface node node_VRAY = extractVrayVopsurfaceNode ( listNodes_VRAY ) # Create RED shader and copy Vray parameters buildShaderNetwork_RED ( material_RED , nodeRSM_RED , node_VRAY )