# Object.Copy only copying object to first point in list

**URL:** <https://forum.dynamobim.com/t/object-copy-only-copying-object-to-first-point-in-list/60910>\
**Category:** Civil 3D\
**Created:** [February 24, 2021, 6:06pm UTC](https://forum.dynamobim.com/t/object-copy-only-copying-object-to-first-point-in-list/60910 "2021-02-24T18:06:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameshitt](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jameshitt](https://forum.dynamobim.com/u/jameshitt)\
**Post date:** [February 24, 2021, 6:06pm UTC](https://forum.dynamobim.com/t/object-copy-only-copying-object-to-first-point-in-list/60910/1 "2021-02-24T18:06:09Z")

</div>

I have a relatively simple script using Object.Copy to copy a surface spot label to a set of points. I started it off from the script by @PankinAleksandr posted here:

> [@Surface Labels](https://forum.dynamobim.com/t/surface-labels/54923/3):
>
> I tried to solve the same task. and found a way out by copying an already created label. it would be great to know how to get the coordinates of the label [Explanation video with russian sound](https://youtu.be/IgySNOz6nN0?t=162&list=PL91XuKht-wvBkvNJvl4D66A4kUwzMVddA&index=7)[CopyLabelToVertexAllObjectsOnLayer.dwg](https://forum.dynamobim.com/uploads/short-url/bXkLSSyK8a6BFlsGeTpMRSwtroS.dwg) (539.5 KB) [CopyLabelToVertexAllObjectsOnLayer.dyn](https://forum.dynamobim.com/uploads/short-url/pKtjkwBox83pF1Aq4sG3WO5RN0M.dyn) (74.3 KB)

I divided it into two parts, 1. to get the points from the Feature Lines in one CAD file and export it to CSV, then 2. another script to copy and place the surface labels in another CAD file to all the points from the imported CSV.  
For some reason, it is only copying the label to the first point in the list. Here is the second script where I’m getting the problem:

 ![COPY OBJECT](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/0/50db1c5d90fbfaffed7e0a406699068a998ccbee.jpeg)  
The label you see on the left is the one label that got successfully copied, but there should also be another copy on the end point to the right. The list of points going into Object.Copy has two points as you can see in the Watch node. Any idea what could be going on?

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [February 24, 2021, 6:19pm UTC](https://forum.dynamobim.com/t/object-copy-only-copying-object-to-first-point-in-list/60910/2 "2021-02-24T18:19:38Z")

</div>

Try setting the lacing to longest on the _Object.Copy_ node.

---

<div class="post-metadata">

**Author:** ![jameshitt](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@jameshitt](https://forum.dynamobim.com/u/jameshitt)\
**Post date:** [February 24, 2021, 6:41pm UTC](https://forum.dynamobim.com/t/object-copy-only-copying-object-to-first-point-in-list/60910/3 "2021-02-24T18:41:05Z")

</div>

Many thanks!  
Off the Primer to brush up on Lacing.
