Category: Civil 3D
-
Storing LandXML in Cloud
By Partha Sarkar In my previous blog post I indicated to experiment with storing LandXML files in Cloud so that we can access the same anytime and anywhere. I thought of trying to use Windows Azure Blob storage. If you are in the learning phase of Cloud services and want to quickly build a sample…
-
Creating a TIN surface from LandXML file
By Partha Sarkar In AutoCAD Civil 3D we can use the LANDXMLIN command and import a LandXML file to create Civil 3D objects like Surface, Alignment, Pipe Network etc. Sometime ago, a Civil 3D application developer asked me about how do I create a Surface from a LandXML file using API ? Civil 3D has…
-
Editing Station property of a Sampleline using AeccSampleLine.Station API
By Partha Sarkar This VB.NET code snippet demonstrates how to add a Civil 3D SampleLine using COM API IAeccSampleLines:: AddByPolyline() method and then check whether the sample line is locked to the station using IAeccSampleLine:: LockToStation, before updating it's Station value using COM API IAeccSampleLine:: Station Property. 'idEnt is Polyline ObjectId Dim pLineEntity As Autodesk.AutoCAD.DatabaseServices.Entity…
-
Civil 3D SurfaceBoundary Properties
By Partha Sarkar This is further to my previous post ‘Accessing Surface Boundary vertices using Civil 3D .NET API’. When we try to add a boundary object in Civil 3D using UI tools, we get to see the following UI window : In this post I will explain what are the equivalent…
-
Accessing Surface Boundary vertices using Civil 3D .NET API
By Partha Sarkar If you are looking for a way to read the Vertices of Civil 3D Surface boundary object, here is the .NET API which facilitates the same. SurfaceBoundary.Vertices Property – > Gets a collection of vertices that make up the boundary. And here is a VB.NET code snippet which demonstrates the usage…
-
Convert coordinates from GPS (LL84) to Civil 3D active project settings
By Augusto Goncalves In preparation for my class at AU 2012 Las Vegas, From Mobile and Through the Cloud to AutoCAD Civil 3D, I needed to convert the coordinates of a point captured with my phone to active project coordinate system. This is required to place the photo (taken with the phone camera) at the…
-
How to update/change Civil 3D Corridor subassembly Parameter values?
By Partha Sarkar If you want to change / update a subassembly parameter e.g. "Slope", you can currently use Civil 3D COM API as .NET API in the current release (Civil 3D 2013) doesn't support this. Here is a C# .NET code snippet demonstrating usage of AeccSubassembly COM API and how to change "Slope" parameter…
-
Getting Civil 3D Land FeatureLine Vertices
By Partha Sarkar Civil 3D .NET API has FeatureLine class, but not many functionalities are exposed in the current release (Civil 3D 2013). On the other hand Civil 3D COM API has AeccLandFeatureLine Object and it has some useful functions exposed. I am aware, some of our Civil 3D application developers want to access the…
-
Using “SwapPartFamilyAndSize” in late-binding .NET application
By Partha Sarkar AeccPipeNetworkPart::SwapPartFamilyAndSize() is a Civil 3D COM API which swaps the part family. It doesn't have a .NET version yet (2013 release of Civil 3D). If you are trying to avoid any COM references and opting a late binding approach and not sure about how to prepare the input argument for the SwapPartFamilyAndSize,…
-
Accessing Civil 3D Abbreviation settings
By Augusto Goncalves Under the Drawing Settings we have a list of abbreviations that Civil 3D will use on its reports, for instance. It is possible access that information from the CivilDocument Settings properties. The following code show, first, how list all abbreviations for Alignment Geometry Point Text and, second, access a specific one from…

You must be logged in to post a comment.