View Full Version : Checking Z coordinates
Robert.Hall
2007-03-06, 07:06 PM
Is there a way to check that the z coordinates of all objects
match using autolisp?
I constantly receive 2d data that has a z elevation not equal to zero.
I can rotate the view and convince myself the data is coplanar, however,
when I have splines, I can never be completely sure.
GuinnessCAD
2007-03-06, 08:59 PM
Is there a way to check that the z coordinates of all objects
match using autolisp?
I constantly receive 2d data that has a z elevation not equal to zero.
I can rotate the view and convince myself the data is coplanar, however,
when I have splines, I can never be completely sure.You could do a "mega move"
(command "._move" "p" "" "0,0,1e99" "")
(command "._move" "p" "" "0,0,-1e99" "")
That would wipe out any z elevation. Or maybe use the flatten command in express tools.
Robert.Hall
2007-03-07, 02:32 PM
You could do a "mega move"
(command "._move" "p" "" "0,0,1e99" "")
(command "._move" "p" "" "0,0,-1e99" "")
That would wipe out any z elevation. Or maybe use the flatten command in express tools.
That is an interesting idea.
I will have to try that out.
As for flatten, sometimes it destroys all the linework.
I have instances where all of the data is crunched about 1 single line.
Any other suggestions?
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.