CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 4783 

CAD tip CAD tip # 872:

Question CAD 
 %  platform  category 
Q - question

How to move (flatten) entities with varying Z-coordinates to Z=0?

A - answer Add a new macro (icon) to your toolbar - in fact two single-line macros (tool buttons) - one for selected objects and the second for all objects:
[FlattenSel]^C^C_UCS;;_select \_move _p;;0,0,1e99;;_move _p;;0,0,-1e99;;

[FlattenAll]^C^C_UCS;;_move _all;;0,0,1e99;;_move _all;;0,0,-1e99;;
(keep the macro text on a single line; the displayed format is to be used for old MNU/MNS files - if you add the macro through the new CUI dialog, use just its code starting with ^C)

Do not use it on 3D solids as it may distort them.

(original concept by Randy Richardson)

100% *  CAD 
8.1.2001    74600×   FAQ  
Comments   Tell a friend

See also:
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 10229:How to find 3DFaces with degenerated vertices?
Tip 2130:How to select objects with negative Z coordinate?

Back   All CAD Tips All CAD tips&tricks

How to run an external application (EXE) in AutoCAD LT? « | » How to insert a raster image in AutoCAD LT?

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   

Publish interactive 3D PDF models from AutoCAD, Inventor or Revit with Share3D 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.