Create Revit Geometry from Civil 3D Profile

I have a project which to make efficient and to reduce project time, I need to produce an automation script to extract information from Civil 3D and Create Flood Walls in Revit, that can then be later used for Detailing etc.

So in a nutshell we would be running the script in Revit or Tekla to create the geometry. The geometry data (Alignment and Profile) will be extracted using the Civil 3D (C3D) Dwg File, therefore, using the current document isn’t the right node as not everyone has C3D.

Since you are using a Civil 3D feature you’ll have to extract the data using Civil 3D. Likely the easiest will be to have the Civil 3D users who are drawing the final walls pack the geometry into an external format such as a json file or solid definition (check out the nodes ‘Geometry.ToSolidDef’ and ‘Geometry.FromSolidDef’, the intermediate string for such can actually go into a txt file as an in-between step). You could also store stuff in a Data.Remember node in the Dynamo for Civil 3D side of things and then open that in Dynamo for Revit.

Lastly if you have a team member or automation machine with both Civil 3D and Revit you can make use of the Civil Connection toolset, with individuals leveraging that machine for the work.