CAD Forum - Database of tips, tricks and utilities for AutoCAD, Inventor and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 8611
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

 

HelpCAD discussion

 
CAD Forum - Homepage 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.

How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedZ-Axis Lisp

 Post Reply Post Reply
Author
jimmyp75 View Drop Down
Newbie
Newbie


Joined: 29.Jul.2008
Status: Offline
Points: 2
Direct Link To This Post 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.
Back to Top
PepaR View Drop Down
Senior Member
Senior Member


Joined: 09.Jul.2008
Location: Czech Republic
Status: Offline
Points: 149
Direct Link To This Post Posted: 29.Jul.2008 at 22:19
This lisp can help you probably.
 
PepaR
Back to Top
Belianis View Drop Down
Newbie
Newbie


Joined: 14.Jan.2008
Location: Poland
Status: Offline
Points: 3
Direct Link To This Post 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 :)
Back to Top
jimmyp75 View Drop Down
Newbie
Newbie


Joined: 29.Jul.2008
Status: Offline
Points: 2
Direct Link To This Post 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.

Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,342 seconds.