Hey guys – I am new to working in Dynamo and am trying to write a script that will create a detail item for one-line diagram that corresponds with a panel within the existing project.
Here is what I have so far:
The top section of blocks creates a list of each panel within the project, and the bottom section pulls the detail item and creates a duplicate of a detail item with a new name.
What I need now is to create a loop so that there is a duplicate for each item in the list. As you can probably see I tried adding a python script block (I have some experience with python but am admittedly pretty rusty) – but I am not entirely sure how to make the loop execute the Family.Type.Duplicate node.
Any advice is helpful.