CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 1279 
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 9302:

Question CAD 
 %  platform  category 
Q - question

How to change elevation units in a map or GIS source?

A - answer You got GIS data in a SHP format or another data source - also in AutoCAD, where the geometry (e.g. 3D lines representing edges of a river) is stored in meters for X,Y and in millimeters for Z elevations (e.g. 254567). For further processing, you need to convert the Z-elevations of the lines to meters, i.e. scale them down by 1000.

You cannot use map queries to easily modify geometry in this way but you can elegantly solve this problem using import (the MAPIMPORT command) to AutoCAD entities. Select all imported entities, make a block of them - with a non-uniform scale in XYZ axes, and set scale 0.001 for the Z-axis. Finally explode the block and use the MAPEXPORT command to export the exploded geometry back to the 3D SHP format.

It is simple and quick.

100% *  CAD 
19.6.2013    3675×  
Comments   Tell a friend
applies to: AutoCAD Map · AutoCAD Civil 3D ·

See also:
Tip 9698:Data formats supported in Autodesk InfraWorks 360.
Tip 8348:How to load a SHP file and display its attribute data in AutoCAD?
Tip 7396:How to convert block attributes to object data?
Tip 7070:How to export 3D versions of SHP files?
Tip 5968:Commandline version of -MAPIMPORT does not offer DGN format.

Back   All CAD Tips All CAD tips&tricks

Problem inserting the current version of a component from Content Center. « | » What is the xref status "Unreferenced"?

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: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.