# Lists to Item Loop

**URL:** <https://forum.dynamobim.com/t/lists-to-item-loop/14672>\
**Category:** Lists-Logic\
**Created:** [September 8, 2017, 4:48pm UTC](https://forum.dynamobim.com/t/lists-to-item-loop/14672 "2017-09-08T16:48:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hjnbyun90](https://avatars.discourse-cdn.com/v4/letter/h/f07891/32.png) [@hjnbyun90](https://forum.dynamobim.com/u/hjnbyun90)\
**Post date:** [September 8, 2017, 4:48pm UTC](https://forum.dynamobim.com/t/lists-to-item-loop/14672/1 "2017-09-08T16:48:01Z")

</div>

Hello all,

I am trying to create a graph that will obtain a list of drafting views from an excel list and copy all detail elements to a new set of drafting views. However, I am running into one major issue. I am using the Element.CopyFromViewToView from the Rhythm package, but it appears the node will only accept items as the source and destination views.

Is there a workaround for this? I was thinking of a loop function but am not sure how I will pull this off…

Thanks for any input and help!

 ![CopyViewToViewGraph-item](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/f/0ff924d76a828a82df08749d52d09d18d6967947.png) ![CopyViewToViewGraph-list](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/d/bd4cbf4eaea04b5c5264837a08b688a9a8c08d6b.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [September 8, 2017, 5:16pm UTC](https://forum.dynamobim.com/t/lists-to-item-loop/14672/2 "2017-09-08T17:16:45Z")

</div>

Try setting your lacing to longest or using levels on the CopyFromViewToView node.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [September 8, 2017, 6:53pm UTC](https://forum.dynamobim.com/t/lists-to-item-loop/14672/3 "2017-09-08T18:53:58Z")

</div>

List.map could also help here.
