When principled materials are present, this is a one click solution to convert them quickly into your favorite renderer.
Currently supported are Octane, Redshift, 3Delight, Renderman, VRay & Arnold.
This function can also be called via python.
from OD import shelftools
shelftools.convertMaterial(nodes = None, res = None, udim=None, uTileMax=None, vTileMax=None, projection=None))
# nodes is an array of nodes
# res is the id for the renderer
# 0: Octane
# 1: Redshift
# 2: 3Delight
# 3: Renderman
# 4: VRay
# 5: Arnold
# 6: USD PreviewSurface
# 7: MaterialX (H19+ only)
# udim : Enable Udims
# uTileMax : Maximum u-Tile (required for Octane)
# vTileMax : Maximum v-Tile (required for Octane)
# projection : "triplanar" for triplanar projections