If you need to use a supplied survey data to create a 3D terrain model (DTM) you can sometimes find that the input data are just 2D contours (polylines) without any assigned elevation (Z-coordinate) - just a flat plan view. You obviously cannot directly generate digital terrain model (DTM, topo) from such source data. But a simple LISP utility can simplify generating a terrain model in AutoCAD Civil 3D or AutoCAD.
A sample data can be download from the drawing file LOM.DWG for Civil 3D 2008.
The LISP utility CHELEV (command CHELEV) can easily assign proper elevation (Z) to a set of contours. Just pick two points connecting a line climbing across the contour set and specify the bottom elevation and the contour step. The CHELEV.LSP file can be downloaded from Download. Load it into AutoCAD e.g. with APPLOAD.
The sample drawing contains an example of countours all placed in the zero elevation, Z=0. There are also pre-drawn sketched segments for specifying the connecting lines for CHELEV and bottom elevations in starting points of these connecting lines. The contour step is 10 (m) in this example.
As you can see in the illustation, the generated terrain model from these "null" contours (polylines) is initially just a flat surface (you can see just its yellow outline). Use the CHELEV command and specify all 3 necessary connecting lines and their parameters (for monotonous terrains a single connection is enough).
As an automatic terrain ("Surface2") update is preset in this sample drawing - after you set the elevations, the correct 3D terrain model will be automatically generated (see the viewport on the right):
Video-sample:
Beside Civil you can also create the terrain model using the utility DTM for AutoCAD.
Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above).
You may also add a link to your web - like this "fan" link:
Featuring: DwgTextTranslator translates a series of drawings from one language to another using MS Access. Download a fully functional trial version.
Please use these tips at your own risk. Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.