Electrical Circuit - Conect elements and panels - Plural

Dear colleagues, I am creating an automatic electrical circuit with python and I need to connect list 01 with list 02.

But I need the connection to be line by line, ie index 0 with 0, 1 with 1, and so on.

I already know how to connect according to the attached script, but I need to create a way to make the script read item by item and connect to each other.

Thank you!

for cir, pan in zip(circuit,panel):
…cir.SelectPanel(pan)

with the 4 points being an indent of course

1 Like

Thank you very much,

Can you explain the question of indent in more detail to me? I’m new to python

I got it!

Thank you!

1 Like