# Dynamo Simplify Objects

**URL:** <https://forum.dynamobim.com/t/dynamo-simplify-objects/97625>\
**Category:** Geometry\
**Tags:** revit, geometry, dynamo, civil3d\
**Created:** [January 30, 2024, 8:18am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625 "2024-01-30T08:18:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JMCiller](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jmciller/32/180272_2.png) [@JMCiller](https://forum.dynamobim.com/u/JMCiller)\
**Post date:** [January 30, 2024, 8:18am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625/1 "2024-01-30T08:18:17Z")

</div>

Hello everyone,

I am dealing with a complex Dynamo script in Revit where I have PolyCurves in 3D compound by several curves. These PolyCurves might have Curves that are aligned, Imean, they have the same Line.Direction.

My question is, do you know if there is an OOTB solution that allows us to “Simplify Objects” the same as the MAPCLEAN command does in Civil 3D?

You probably know that the Revit API Rebar.ByCurve method only works for segments of lines with different slopes/’ directions. You cannot input a PolyCurve with two curves aligned.

For instance, in the screenshot I attach, you can see that we should get rid of the point highlighted in red:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/9/19cec6ed2aedeeb2eaa8e2f6c5f966b4778fc5e5.png)

The 3D PolyCurve in Revit shall be with no points in between when the direction is the same:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27f6a1af9937b1a9044779dc8f0df42527dd172a.png)

Cheers,

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [January 30, 2024, 10:54am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625/2 "2024-01-30T10:54:06Z")

</div>

There’s no OOTB node, as i know. You can try **polyCurve\_Simplify** from the Sparrow package.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [January 30, 2024, 10:57am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625/3 "2024-01-30T10:57:12Z")

</div>

Yes guess it could work in c3d as well, that node is written in DS script 😉

---

<div class="post-metadata">

**Author:** ![JMCiller](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jmciller/32/180272_2.png) [@JMCiller](https://forum.dynamobim.com/u/JMCiller)\
**Post date:** [January 30, 2024, 11:25am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625/4 "2024-01-30T11:25:49Z")

</div>

I tried to instal it in Revit 2022 but it dows not show up ☹

---

<div class="post-metadata">

**Author:** ![Vladimir](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vladimir/32/147600_2.png) [@Vladimir](https://forum.dynamobim.com/u/Vladimir)\
**Post date:** [January 30, 2024, 11:52am UTC](https://forum.dynamobim.com/t/dynamo-simplify-objects/97625/5 "2024-01-30T11:52:13Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/5/65e432ae09be3b296fc1b611ae9dad1045b9f044.png)
