Hello everyone on the forum.
I’m having a difficulty in Dynamo, which I’ve tried different ways to solve and I searched a lot on the forum to help, but nothing went right and I decided to ask for help from those who know or help me walk, because my logic is paralyzed.
In this case, it would have to locate my elements A B C from Dynamo’s list, leaving it as it is in the table.
My table has a specific position for ABC, the A always at 1, 4, 7, 10, 13, 16, 19, 22
the “B” in 2, 5, 8… the “C” in 3, 6, 9…
If it has AB, it would be some position of the free “A” and the free “B” on the side.
Everything has been read from a Dynamo list, like the screenshot.
In this case it would read the “A” and place it in positions 1, 4… as it is in yellow.
Then I would read the “AB” and place it in the free positions at 10 and 11, 13 and 14, 16 and 17, as it is in blue.
Then I would read the “B” and place it in the free positions in 2, as it is in orange.
Then I would read the “BC” and place it in the free positions at 5 and 6, 7 and 8 as it is in green.,
Then I would read the “C” and place it in the free positions at 3, 12, 15… as it is in red,
Then I would read the “CA” and place in the free positions in “CA” free that you have, 21 and 22, as it is in purple.
Then I would read the “ABC” (in this case it doesn’t have) and put it in an “ABC”…
I would like to output a “text”, which I will later put as a parameter, in this case: “position 1”,“position 2”…
Is it possible to create this decision logic in dynamo or in phyton?