Rhino.Inside.Revit extracting the extrusion curve of an existing family

Hi All,

I need some help in exporting the original curve, where a family has been modelled with.
This curve is needed to create an FEA model and I do not want to redraw the whole geometry.
I tried to retrieve this curve using Rhino.Inside.Revit but I could not found the orignial curve property.

In the existing Revit model these curved columns are modelled.


When I open the family this pink extrusion curve can be seen.

Is it possible retrieving this pink extrusion curve by using Rhino.Inside.Revit?
I added my “not complete” script in the appendix.

template_Rhino_Inside_Revit.gh (64.2 KB)

One way to get the curve would be to analyze the geometry and getting the edge curve of the face you need, example shown below…

Thnx Mohamed,
Pretty smart trick to filter out the largest area surface.