Display full version of the post: LISP routine, all defpoints back to XY Plane?

cheddarthief
11.03.2011, 17:02
I have a situation where someone not very skilled at CAD has drawn a 2D drawing and somehow not all of the geometry is showing up on the XY plane at 0 (zero) in the Z axis.  Even worse, some of the lines (geometry) is not even parallell to the XY plane.  Is there a LISP routine I can run that will take all defpoints as viewed from the XY plane and move them to the 0 plane on the Z axis?  I hope I explained this correctly.  Thanks in advance to any help.

John Connor
11.03.2011, 17:28



Have you tried the FLATTEN command found in Express Tools?Another option still available is to use the CHANGE command with the ELEVATION option.Finally there are these two macros courtesy of Vladmir Michl (anyone recognize that name?):[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;;

John Connor2011-03-11 17:34:35