CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 7801

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    88560×   FAQ  
Prices - CAD eShop:

See also:

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   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 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.