Dynamo Simplify Objects

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:

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

Cheers,

There’s no OOTB node, as i know. You can try polyCurve_Simplify from the Sparrow package.

1 Like

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

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