AutoCAD/the pesky "z"

Advertisement


Question
We get dwgs from clients that have many objects with a "Z" factor as in 3d. This messes up snapping to end points etc, we do not use the "Z". Is there any way of globally squashing the "Z" to 0 (zero)?

Answer
Method 1:
Express Tools - FLATTEN command

Method 2:
A menu MACRO:
^C^C_move;_all;;0,0,0;0,0,1e99;_move;_p;;0,0,0;0,0,-1e99;

Method 3:
http://my.sterling.net/~bdeshawn/AutoLISP.htm
Click on Z0.lsp.  It's my routine and works pretty well, but the other two methods are better.  But if you don't know how to work with menus and CUI's, then you can just load this routine with APPLOAD.

Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn  

AutoCAD

All Answers


Answers by Expert:


Ask Experts

Volunteer


Bill DeShawn

Expertise

I can address all 2-D questions and some 3-D questions. I do programming in AutoLISP if it doesn`t involve solid modeling. I can also address menu customization issues and can help you find answers to questions I can`t answer by taking your question directly to Autodesk via their newsgroups.

Experience

I used to do electronic and mechanical design for a flat panel monitor manufacturer, and now I do architectural drafting for an architect. I did and do AutoLISP and menu customization and take pride in making my lisp routines to do the work exactly the way the client likes them done.

Publications
I had a routine published in CADENCE magazine (no longer in publication and taken over by CADALYST). Some of my routines are published on my website at http://my.sterling.net/~bdeshawn

©2012 About.com, a part of The New York Times Company. All rights reserved.