CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 1893 

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 www.cadstudio.cz/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    314×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12105:Select the smallest DWG object - MinOf utility.
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 9807:Automatic elevation labels.
Tip 9302:How to change elevation units in a map or GIS source?
Tip 9006:Elevation label with automatic text of Level and Elevation relative to UCS.


Back   All CAD Tips All CAD tips&tricks



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:
Track your time spent working on AutoCAD or Revit jobs - automatically with
CADstudio JobTime More info


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