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,