CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 9302:

Question

CAD 
 %  platform  category 
A
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.

MapCivil
100% *CAD
19.6.2013    13254×  
applies to: AutoCAD Map 3D · Civil 3D ·

See also:
Tip 14620:Converting object data (OD) to XData (XD) in AutoCAD Map 3D.
Tip 13873:How to load GeoJSON data into AutoCAD, Map, Civil 3D, Infraworks?
Tip 13604:Importing points from a Shape file as symbols/blocks mapped to object data.
Tip 12988:Where are Autodesk Infraworks building, road and terrain models loaded from?
Tip 9698:Data formats supported in Autodesk InfraWorks 360.


Back    All CAD Tips



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
  



Featuring:
Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D More info


Please use these tips at your own risk.
ARKANCE is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist