Transfer folded wall surfaces into Revit walls

Hello All!

I am trying to transfer some triangulated walls from Rhino to Revit but I want to have them as walls instead of mass or whatever else!

The only solution I thought so far is to create a wall by surface. However I am not sure if there is any way to do somehow!

Any idea how that could be possible!
Thanks a lot!

Mass_For_Revit.3dm (416.7 KB)

Revit API allows creating walls by the base curve or surface profile. You would need to analyse your triangulated wall in GH, extract the base curve, determine the type of Revit wall you want to create, and pass that information to the AddWall.ByCuve component