# Can we trim 2 curves?

**URL:** <https://forum.dynamobim.com/t/can-we-trim-2-curves/7286>\
**Category:** Geometry\
**Created:** [November 4, 2016, 2:28pm UTC](https://forum.dynamobim.com/t/can-we-trim-2-curves/7286 "2016-11-04T14:28:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali.safiaddine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ali.safiaddine/32/17048_2.png) [@ali.safiaddine](https://forum.dynamobim.com/u/ali.safiaddine)\
**Post date:** [November 4, 2016, 2:28pm UTC](https://forum.dynamobim.com/t/can-we-trim-2-curves/7286/1 "2016-11-04T14:28:22Z")

</div>

Hi guys,

am just wondering if we can trim 2 curves in dynamo?

I have a list of curves there are overlapping between some of these curves so I just want to trim the overlapped cures can we do that?

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [November 5, 2016, 4:13am UTC](https://forum.dynamobim.com/t/can-we-trim-2-curves/7286/2 "2016-11-05T04:13:56Z")

</div>

Did you try the trim command? You can control which side gets trimmed through the pick point:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/8/e8cdaa96688ef07fb847621dd3367bc98d100f7e.png)

You could also try the “LineLoop.Merge” from springs, but that node is more situational

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/5/957b8ea5723ab888c48043e80a034e08e09e3687.png)

---

<div class="post-metadata">

**Author:** ![ali.safiaddine](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ali.safiaddine/32/17048_2.png) [@ali.safiaddine](https://forum.dynamobim.com/u/ali.safiaddine)\
**Post date:** [November 7, 2016, 8:08am UTC](https://forum.dynamobim.com/t/can-we-trim-2-curves/7286/3 "2016-11-07T08:08:41Z")

</div>

Hi @Dimitar_Venkov thank you for replying,

your answer will work i think only with non-intersecting lines, i want a general case.  
i have a list of lines and i want to trim only intersecting lines the main purpose of this is when i change these lines (curves) to polycurves am having a self intersecting error.  
please find attached a revit file that contains 2d detail lines i just want to convert these line in dynamo to polycurves to offset them

[TEST REBAR 2d.rvt](https://forum.dynamobim.com/uploads/short-url/z5PXKHpi9wYZWzmN7H5nGG9cws.rvt) (2.2 MB)  
thank you
