Curve by model line

Hello everybody.
I have learned a lot from this forum, and I would like to develop a routine similar to the one below

it’s a routine that creates a sine curve, I would like to know if it is possible to adapt to create a model line curve (sine or something like that)
tracing the blue model line, it would create a red curve as in the image below

it seems to be simple, but I didn’t succeed. I used the select element to get it, but I couldn’t draw the curve on it


Something like that?


Hi Durmus_Cesur,

It would make the curve, but how can I use the coordinates of the revit model line (instead of setting it)
It would be like, select with the Select Model Element, and create from it (using element.geometry coordinates?) because that would make it inclined and not only on the x axis.
I’ve been trying to use PolyCurve with start and end point by coordinates, but I was unsuccessful, I couldn’t put together a reasoning.

“C=…” wipe until it is cleared. Then connect the drawing you want to obtain. That’s all you have to do.

1 Like