CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 16933

CAD tip CAD tip # 12616:

   
Question CAD 
 %  platform  category 
Q - question

Att2elev - move block to elevation specified by its attribute.

A - answer 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 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    13471×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 14056:How to move blocks in the Z axis to the terrain model surface?
Tip 12105:Select the smallest DWG object - MinOf utility.
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 10682:Automatic classification of drawing objects by their properties.
Tip 9807:Automatic elevation labels.


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 glossary   



Featuring:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


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.
TOPlist