As seen in the picture, we can obtain the points of the circuit using GetCircuitPath. But we cannot replace it with new points using SetCircuitPath. We do not know how SetCircuitPath works. We did not see a working example. We would appreciate if you can give information about this subject or give a working example.
you should loop through it
for c,p in zip(circ,PathList):
Thank you so much.
It works like this, I have no problem. But when I add a list of points, I cannot draw the new path. Can you help with this?
share a picture with all outputs in each node please
this is because it is instance not a list, use TurnIntoList node from clockwork package for both inputs IN & IN
I installed the package you said but it doesn’t work again.
for IN the point, use List.Create node instead of TurnToList
or, if you want to make it a general case you may use IfInstance in your python code
if isinstance(IN, list):
circ = [UnwrapElement(i) for i in IN]
circ = [UnwrapElement(IN)]