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

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;;
_chprop;_all;;_thickness;0;;
(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)

LT98LT2000LT2004LT2008LT2010ACAD
100% *  CAD 
8.1.2001    56317x   FAQ  
Comments   Tell a friend

See also:
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   



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 (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist