From 972de939a5d2dedfd587b129a2033d6cbf9b3ba5 Mon Sep 17 00:00:00 2001 From: Andriy Babak Date: Mon, 2 Sep 2019 19:23:08 +0300 Subject: [PATCH] Update the integrations sample code --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 091d4e5..6aec584 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,8 @@ You can save the resulting XML to file and bring it into Katana: # to 'resulting_xml' string variable from Katana import NodegraphAPI, KatanaFile # Create a group for shading network -group_node = NodegraphAPI.CreateNode(node_name, NodegraphAPI.GetRootNode()) +group_name = 'materialSG' +group_node = NodegraphAPI.CreateNode(group_name, NodegraphAPI.GetRootNode()) # Bring the nodes to Katana scene # and place them inside the newly created group nodes = KatanaFile.Paste(resulting_xml, group_node)