Over 1.104.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
    Discussion forum
 Discussion forum
 ?CAD discussions, advices, exchange of experience
 CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
 CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.
 Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
 How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
 | 
 | 
| Post Reply   | 
| Author | |
| jimmyp75   Newbie   Joined: 29.Jul.2008 Status: Offline Points: 2 |  Topic: Z-Axis Lisp Posted: 29.Jul.2008 at 19:22 | 
| 
   I work with drawings of Manufacturing facilities and theese DWG files get passed around over time and get all messed up.
 One problem is that for some reason or another, lines and objects on a 2D drawing are on different Z-Axis Planes.  you can select a line and look at the properties and the "Start Z" will have a different value than the "End-Z".   I was wondering if there if anyone knows of a LISP routine or command where you could select a group of line/objects and it would reset the Z-Axis values to Zero. Thanks in Advance. | |
|  | |
| PepaR   Senior Member   Joined: 09.Jul.2008 Location: Czech Republic Status: Offline Points: 149 |  Posted: 29.Jul.2008 at 22:19 | 
| 
     PepaR
     | |
|  | |
| Belianis   Newbie   Joined: 14.Jan.2008 Location: Poland Status: Offline Points: 3 |  Posted: 02.Aug.2008 at 17:54 | 
| 
   You can also download APlus plugin from http://www.cadaplus.com .
There is command AFLAT which resets Z-axis values to 0.
 You may also use command MZ (Move just in Z) to move particular objects or even create their copy just in Z-axis (with COZ command). There are also many command which will help you out with finding out problems in drawings from Manufacturers, such as SLANTED command that search for lines that appear to be straight but are not. Check it out, you won't regret :) | |
| 
     http://www.cadaplus.com - AutoCAD plugin for architects with over 500 new commands ... and some free blocks :)
     | |
|  | |
| jimmyp75   Newbie   Joined: 29.Jul.2008 Status: Offline Points: 2 |  Posted: 04.Aug.2008 at 14:12 | 
| This Lsp program did exactly what i wanted... except that i tried it on an actual 3d drawing that i was working on and it flatened everythign out....but the Undo does nto work! so, Luckily i ahd jjsut saved the fiel and didn't lose any work. 
 Other than that, works great.. Thanks for the help. | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum | 
This page was generated in 0,109 seconds.
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](/common/arkance_186.png)


 
 
  
 
 
  
  
  
  
  Z-Axis Lisp
Z-Axis Lisp Topic Options
 Topic Options
 
  





 
