Question : Linking Civil3d with Dynamo through C#

Hello.
I’m asking for sources to learn how to link civil3d with dynamo to make custom nodes.
I already know how to make custom nodes for dynamo through C# and visual studio but don’t know how to link Civil3d objects e.g.(Alignments, corridors,…etc) and use them in my C# script.
any help?

Hi @khaled.agamy,

Check out the GitHub repo for the Camber package. It should give you some good examples.

2 Likes

Thanks a lot!

Do you need access Civil 3d API new (.net) or legacy API?

I want to access alignment , profile geometry points and superelevation critical points … which one will help me ?

From dynamo civil both works
From dynamo revit legacy work and .net can not access C3 api from external applications

1 Like

Thanks! I didn’t know this info
I work with dynamo for Revit
I will search for more information about this method, If you know some useful sources to learn from please share it with me.

You can use CivilConnection2020 for @Paolo_Emilio_Serra1

GitHub - Autodesk/civilconnection: CivilConnection enables the exchange of information between Civil 3D, Dynamo and Revit.
if you need to write your own code Andrew Milford, “Civil 3D Data Mining with Dynamo” AU2018 (CES226095)

1 Like