PDA

View Full Version : Move all objects to elevation Z = 0



dave
02-19-2009, 02:32 PM
We have a user who has accidentally drawn his 2D drawing at two elevations. We needed a lisp routine to move everthing back to Z = 0. Jharris sent me the following link.

http://cadtips.cadalyst.com/object-properties/change-elevation

mostly worked, did some funky stuff with the text but got all the lines to where they needed to be (after I exploded everything) ;)

Thanks Mr. Harris!!

Zortar
02-19-2009, 03:11 PM
My pleasure! The help I offer here is by far less than the help I receive.

Patrick_Aps
02-19-2009, 10:31 PM
...if you have the Express tools in AutoCAD.
Flatten.lsp is delivered with AutoCAD since version 14, I believe.

Zortar
03-04-2009, 10:56 AM
Flatten.lsp doesn't work on ARX custom objects, that is why we have to use other tools for AutoPlant objects. But it does work on AutoCAD objects.

marvelade
07-18-2011, 01:26 AM
I usually just move everything to 0,0,1e99 and back which works most of the time :)