I want to add some nodes for redshift node material. and I find some problem with I think I just make it work but not fully understand this function.
self.graph.AddChild(childId=maxon.Id(), nodeId=nodeId, args=maxon.DataDictionary())
I found if I modify the graph and then insert material, the node will be well positioned, aka it will aligned perfectly.
But if I modify the existing materials , like create a node tree , the node will add to the same position in the graph with not recognizable wires connection.
If I try call the
c4d.CallCommand(465002363) # Arrange All Nodes It will arranges all my nodes and break old nodes position. for now my solution is select new created nodes and call the
Arrange Selected Nodes to position them.
But I think I didn't use or understand the
args=maxon.DataDictionary() arg, I wonder if I can set the position or something for the node .
- Can I or how can I add nodes to exist graph with a reasonable position
- How to understand the
maxon.DataDictionary()and what this use for