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. New AutoCAD 2026 commands and variables.
Plex.Earth connects AutoCAD and Google Earth

CAD tip CAD tip # 12616:

Question

CAD 
 %  platform  category 
A
With the help of dynamic fields it is easy to implement the opposite procedure - displaying the current height (Z-coordinate) of a block into the value of one of its attributes.

However, if you have a drawing with blocks (e.g. survey points) coming from an external source, all lying in a plane (Z=0), and you need to move these blocks to the actual elevations specified by a numeric value in one of their attributes, you can use the freeware LISP utility Att2elev.

Download the application from DL Download, load it into AutoCAD with the APPLOAD command and invoke it by typing the command ATT2ELEV.

Then select a specific attribute that contains the elevation data. If its numeric value is preceded by a prefix or ends with a suffix (e.g. "123.4m"), you can specify the extra text ("m") to ignore it when determining the elevation. Then by selecting the block references or by confirming "all", the blocks of the same type will be moved to the heights specified by the values ​​of these attributes.

Note: Autodesk Civil 3D already includes a built-in feature for this type of operation

ACAD
100% *CAD
22.5.2020    16541×  
applies to: AutoCAD ·

See also:
Tip 14414:Link geo-tagged photos from your mobile phone to AutoCAD DWG maps.
Tip 14280:How to add elevation value (Z-coordinate) to texts with point numbers?
Tip 14056:How to move blocks in the Z axis to the terrain model surface?
Tip 12105:MinOf - select the smallest/largest DWG object or extreme curve point.
Tip 11708:How to convert texts to block attributes (references)?


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:
Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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