Hi,
How do I use the GraphNode.RemoveConnections
? It gives me an error of
TypeError: unable to convert builtins.property to @net.maxon.graph.wires
Here is the illustration code:
base_color_port = list(GraphModelHelper.GetDirectSuccessors(texture_node, maxon.NODE_KIND.INPORT, None))[0] # Results the Standard Material Base Color Port
base_color_port.RemoveConnections(maxon.PORT_DIR.INPUT, maxon.Wires.dependency)
I get that there is some parameters/masking but shouldn't the default be just a vanilla RemoveConnections
? Like you have the access to inport or output and just literally remove the existing connections?