Skip to content

Commit

Permalink
Update the integrations sample code
Browse files Browse the repository at this point in the history
  • Loading branch information
ababak committed Sep 2, 2019
1 parent ab007e8 commit 972de93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 972de93

Please sign in to comment.