Developed Section of curved elements

I’m trying to get a section based on a curved line, being more especific. I’m trying to get the longitudinal section to the pilewall of the shown picture:

The red line, exagerated one, tries to show the slab Edge curvature, and it’s over this dummy line where I want to get the pilewall longitudinal section from.

I’m trying to make the Dynamo Script in order to get this section, but currently it’s impossible.

Does eayone has an idea to fulfill this situation?

this is called a ‘developed section’

search for this term on the forum- I remember some posts from a while ago- to do with bridges I recall

If you mean this post:

I’ve tried to follow it with no results. In fact, I’m trying to use the 17_UnrolledSection node, without satisfactory results.

I was thinking of this

The bottom line is that it will be a fudge- Revit does not deal with the concept of curved section lines, as opposed to other applications- say Civil 3D