()
Convert Materials main function: run convertion procedure
Convert Materials main function: run convertion procedure
Convert Materials main function : run convertion procedure
def convertMaterials():
    '''
    Convert Materials main function: run convertion procedure
    '''

    # Create RED SHOP Network
    SHOP_RED = OBJ.createNode('shopnet')
    SHOP_RED.setName(nameSHOP_RED.format(SHOP_VRAY))

    # Get list of VRAY materials
    listMaterials_VRAY = SHOP_VRAY.children()

    # Create RED materials inside RED SHOP network
    for material_VRAY in listMaterials_VRAY:
        buildMaterial_RED(SHOP_RED, material_VRAY)
    # Layout redshift materials in Nwtwork View
    SHOP_RED.layoutChildren()
def convertMaterials ( ) : # Create RED SHOP Network SHOP_RED = OBJ . createNode ( 'shopnet' ) SHOP_RED . setName ( nameSHOP_RED . format ( SHOP_VRAY ) ) # Get list of VRAY materials listMaterials_VRAY = SHOP_VRAY . children ( ) # Create RED materials inside RED SHOP network for material_VRAY in listMaterials_VRAY : buildMaterial_RED ( SHOP_RED , material_VRAY ) # Layout redshift materials in Nwtwork View SHOP_RED . layoutChildren ( )