How to start using the Civil 3D API with C#?

alexander_07_11
Advocate
Advocate

How to start using the Civil 3D API with C#?

alexander_07_11
Advocate
Advocate

Hi everyone. I post here cause I don't know how to start learning to use the C3D API to create commands. I'm not new to programming, as I've used Python and also I'm capable in Dynamo for C3D, but I know that the C3D API is a lot more powerful. I hope you can guide me or recommend where can I learn or how to start. Wish I'm not breaking any rules posting this here. Thanks in advance.

0 Likes
Reply
Accepted solutions (3)
149 Views
4 Replies
Replies (4)

hosneyalaa
Advisor
Advisor
Accepted solution

@alexander_07_11 

 

To create a new project that uses the Autodesk Civil 3D managed classes in Microsoft Visual Studio

 

 

https://help.autodesk.com/view/CIV3D/2025/ENU/?guid=GUID-DE3A46DA-508E-43A0-8538-C77D978D06B2

 

hosneyalaa_0-1736320132260.png

 

0 Likes

essam-salah
Collaborator
Collaborator
Accepted solution

@alexander_07_11 wrote:

I hope you can guide me or recommend where can I learn or how to start. Wish I'm not breaking any rules posting this here. Thanks in advance.


hi, as @hosneyalaa  mentioned the C3D documentation is the best way to start with, first just try all examples in documentaions and try to tweek it and play arround with it , then try to solve your own problem, and if get stuck you can post here.

good luck

0 Likes

Jeff_M
Consultant
Consultant
Accepted solution

There are a few sample projects that are installed with Civil 3D:

C:\Program Files\Autodesk\AutoCAD 2024\C3D\Sample\Civil 3D API\DotNet\CSharp

Jeff_M, also a frequent Swamper
EESignature
0 Likes

alexander_07_11
Advocate
Advocate

Thank you very much for your responses. I'm starting out using the sample project that comes with C3D. I hope I can make it. Thanks again

0 Likes