# Duplicate line

**URL:** <https://discourse.mcneel.com/t/duplicate-line/60981>\
**Category:** Grasshopper\
**Created:** [April 19, 2018, 11:24pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981 "2018-04-19T23:24:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![duchoabn](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/duchoabn/32/290389_2.png) [@duchoabn](https://discourse.mcneel.com/u/duchoabn)\
**Post date:** [April 19, 2018, 11:24pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981/1 "2018-04-19T23:24:39Z")

</div>

Hi,  
I have some lines on plan, how I can copy duplicate them along vector Z with many times

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/f/8/f85fe62e40b4c0b0a1ba070bd0e5b1d30562a527.png)

Thanks

---

<div class="post-metadata">

**Author:** ![Baris](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/baris/32/759711_2.png) [@Baris](https://discourse.mcneel.com/u/Baris)\
**Post date:** [April 19, 2018, 11:25pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981/2 "2018-04-19T23:25:58Z")

</div>

Hi,

Use series for generating the numbers and feed them in the z vector

---

<div class="post-metadata">

**Author:** ![duchoabn](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/duchoabn/32/290389_2.png) [@duchoabn](https://discourse.mcneel.com/u/duchoabn)\
**Post date:** [April 19, 2018, 11:28pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981/3 "2018-04-19T23:28:32Z")

</div>

Hi,  
I using series and vector Z but it not good result

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/b/c/bc950a5d3b7b7bc6147ecdfe056c15416cd35916.png)

Lines need copy

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/5/f/5fddd6c28d28b925508a584868cfc1aeffdb003f.png)

---

<div class="post-metadata">

**Author:** ![Baris](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/baris/32/759711_2.png) [@Baris](https://discourse.mcneel.com/u/Baris)\
**Post date:** [April 19, 2018, 11:34pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981/4 "2018-04-19T23:34:58Z")

</div>

upload the file, maybe?It should work

 ![move](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/5/7/572c4536056a7e4c06924bbbc3060af181fcaaaf.PNG)

---

<div class="post-metadata">

**Author:** ![duchoabn](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/duchoabn/32/290389_2.png) [@duchoabn](https://discourse.mcneel.com/u/duchoabn)\
**Post date:** [April 19, 2018, 11:57pm UTC](https://discourse.mcneel.com/t/duplicate-line/60981/5 "2018-04-19T23:57:23Z")

</div>

Hi,  
Please check my files  
[Copy duplicate.3dm](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/b/5/b5e0387d3fa8c958655211f8c9e52dceb8d410a1.3dm) (58.1 KB)

[Copy duplicate.gh](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/3/3/33851537ee6f3689778cc22d3df0f4124a039dfa.gh) (4.3 KB)

---

<div class="post-metadata">

**Author:** ![Baris](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/baris/32/759711_2.png) [@Baris](https://discourse.mcneel.com/u/Baris)\
**Post date:** [April 20, 2018, 12:04am UTC](https://discourse.mcneel.com/t/duplicate-line/60981/6 "2018-04-20T00:04:55Z")

</div>

graft the G of the move component

 ![graft](https://global.discourse-cdn.com/mcneel/uploads/default/original/3X/f/b/fbf826b8127d9ca2c2553861216258efb72cd8f2.PNG)  
Actually better graft the Curves from beginning I think

---

<div class="post-metadata">

**Author:** ![duchoabn](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/duchoabn/32/290389_2.png) [@duchoabn](https://discourse.mcneel.com/u/duchoabn)\
**Post date:** [April 20, 2018, 12:29am UTC](https://discourse.mcneel.com/t/duplicate-line/60981/7 "2018-04-20T00:29:37Z")

</div>

Thanks  
I using the Linear array component it good result

![image](https://global.discourse-cdn.com/mcneel/original/3X/6/6/66d17e630bf0b1d7ef6bc0c305d48fea038ae5b7.png)

 ![image](https://global.discourse-cdn.com/mcneel/original/3X/b/5/b574ac95e75577861376e11ff4b41c605798caf4.png)
