Category: Civil 3D
-
Using JIG with Civil 3D Labels
By Augusto Goncalves This is based on Kean’s original post for AutoCAD entities, but adjusted to Move (instead Rotate) and using the Label specific property: LabelLocation. Some background: JIG is an AutoCAD API feature to manipulate objects on screen, but with the ability to actually drag them around (rotate, move, scale, adjust) while seeing the…
-
One Million Downloads! And some cool Civil 3D apps
By Augusto Goncalves We’re glad to announce One Million Downloads at the Autodesk Exchange Store! And a big-super-mega special thanks to all developers with apps on the store! This was only possible with a lot of great apps! Although we have different stores for different Autodesk products, let me show a list of popular Civil…
-
Read TinVolumeSurface triangles in Civil 3D
By Augusto Goncalves The TinSurface object has a Triangle property, which allow access to the list of triangles of the surface. But the TinVolumeSurface does not offer this property. The workaround is to use the COM version of this object, AeccTinVolumeSurface, which has a OutputTriangles property, that returns a array of doubles, but this need…
-
Overrule pipe network part in profile view
By Augusto Goncalves Using this simple overrule skeleton we can change the pipe or structure representation on a profile view. We just need to overrule the ProfilePartView class and do some additional geometry. Here is a quick sample. class PipePartOverrule : DrawableOverrule{ public override bool WorldDraw( Drawable drawable, WorldDraw wd) { bool ret = base.WorldDraw(drawable, wd); ProfileViewPart…
-
New Features in the AutoCAD Civil 3D 2016 API
By Augusto Goncalves We’re glad to announce AutoCAD Civil 3D 2016 it’s available for download at our main portal. Here I would like to point what’s new on the API: .NET Changes This section covers changes to the AutoCAD Civil 3D .NET API for the 2016 release. Alignments A parameter named attainmentRegionType has been added…
-
Using Civil 3D 2015 via console
By Augusto Goncalves Since release 2013, we can use AutoCAD in console mode. This is intended to developers, there is no graphical interface and only the command line is available through the console window or via programming. Back on Autodesk University 2012, this class covered the basics on how use and automate AutoCAD Console, including…
-
Is a Civil 3D instance?
By Augusto Goncalves This is a .NET version of the code posted by a colleague, see original here, redesigned to Civil 3D naming. When we get a running instance of AutoCAD, we don’t know which vertical is actually running as all of them are basically the same root object. To determine which version we have,…
-
Formatting Stations with .NET Extension
By Augusto Goncalves Format stations like Civil 3D using, for instance, 3+1.00 for a number like 61.00, can be easy with .NET, and even more easier with .NET Extensions. Here it is: first define a module class that contains your utility functions, something like Public Module Utils <System.Runtime.CompilerServices.Extension()> Public Function ToStationString(station As Double) As String Dim fractionPart As Double = station…
-
Snoop now support multiple drawings
By Augusto Goncalves Now you can open another drawing using the same instance of Civil 3D, directly from the Snoop interface. Thanks everyone for the feedback! Hope you enjoy it. Download it from Github.
-
Reading Network Part Description
By Augusto Goncalves If you try read the Pipe or Structure Description using the API, it will return the size information, which is not what we need. In fact that information is on the database, but we need to get it from the part family. The code below show how it can be done. Note…

You must be logged in to post a comment.