Hello, I am also having trouble importing some tin surfaces into Revit from Civil3D.
The surface, whether using CSV files, DWG files, or Dave’s script, is not imported the same as the one I modelled in Civil3D…
I can’t use Docs to link the topography, and I don’t know what else to do.
I’m attaching photos of what’s happening.
The Civil3D surface was originally a corridor.
Lots of questions to this… I suppose I’ll start with this.
What do you think the community can do to help you when you haven’t provided dataset and the graph you used to create the error?
I thought someone might have a different idea from mine.
By providing the script I used, I don’t want the message to be “my script doesn’t work”, because in reality it doesn’t give any errors, it just doesn’t do what I want it to do…
I took the script from this page “ Revit CivilConnection 2025 - Open Civil Document, Get Surface Workflow - #7 by dave.middle4ZNRV “, but actually mine is not a topographic surface (the surface is the triangular one you see above).
I also tried using the BriMohareb_2025 package, but I get an initial error (I am attaching that as well).
Gotcha. I am not a fan of COM interop - which is what Civil Connection and (apparently) BriMohareb use. The first question that you’ll have to answer yourself - can Revit build the thing you are asking it to build using the UI - if the error is from how Revit builds that type of object within the UI then the API won’t provide a magical fix. The alternative may be another object type.
So: What are you trying to convert the corridor into?
Surface data from Civil 3D to Revit is something I have quite a bit of experience with.
Refer this post in the Revit forum’s.
https://forums.autodesk.com/t5/revit-api-forum/revit-2025-toposolid-vs-topography-link-topography-accuracy/m-p/13029465#M2989
If you can provide a sample of your dataset there should be a simple way to work on the interpolation issues you seem to have regarding the edges of your topography.
Hi Jacob, I’m trying to convert it into a solid because it seemed like the most appropriate thing to do.
Revit doesn’t have a solid element category.
Will it be a floor? A toposolid? What is the object class going to be in Revit is what needs to be understood. To answer that ‘why’ you are moving from C3D to Revit needs to be known.
So if you didn’t have Dynamo or a Civil 3D dataset, how would you get the content into the application?
I would like to convert the surface into a toposolid because I need to use it to position adaptive families on top of it. I already have a script for positioning adaptive two points family on a toposolid, so I would prefer not to modify it.
OK - toposolid is a meaningful data point.
Have you tried to build a toposolid in the UI? Does it replicate the issue you see in the screenshot (I don’t see any obvious error there so we might need some highlighting).
After you confirm that Revit can build a toposolid which mimics your shape, the next step is to build a sample dataset which replicates the issue and you can share. You can either ‘reduce’ the dataset you have and strip project information, or make one which is similar to what you have. The goal is to replicate the problem as otherwise you’re asking the Revit users in the Dynamo community to build a Civil 3D corridor as a starting point. Since that is not an easy task for a Revit user the shapes will be simple, and they are not likely to replicate the error you’re getting as a result.
I have highlighted the errors in the previous photo. They are important because adaptive families must be inserted on the contours.
The toposolid model is generated, but not correctly.
It correctly follows the elevation profile but makes many errors in terms of planimetry, as if it were oversimplifying the input geometry.
I tried importing another similar geometry but with fewer triangles, and I get the same problem.
Great! Provide that geometry, and the graph you used to build it by posting to the forum.
1 Like
Hello, I am trying to convert an IFC file. If I am unable to do so, I will send the Civil file. It could be a good alternative.
1 Like