TomC Posted February 27, 2008 Posted February 27, 2008 I am working in an office that uses AutoCAd 2004 LT. We often receive drawings from third parties that have Z co-ordinate information and as we are only using 2D it can cause a few problems when snapping to points. I am inquiring if there is command or routine that can be incorporated into 2004 LT like the 'Flatten' command in 'Additional Tool' in full version of AutoCAD 2005 which converts all the Z values to 0. Quote
mahahaavaaha Posted February 27, 2008 Posted February 27, 2008 Hi, add this to you menu: [FlattenAll]^C^C_UCS;;_move _all;;0,0,1e99;;_move _all;;0,0,-1e99;;_chprop;_all;;_thickness;0;; This is a solution based on AutoCAD's "meager" (heh) calculus-abilities; if you move something far far up and then back down, the "small" elevationdifferences in elements tend to dissappear and everything is at 0 elevation. HTH Petri Quote
TomC Posted February 27, 2008 Author Posted February 27, 2008 Brilliant - thanks for that. Works a treat. No more having to individually rest Z value of items. Many thanks. Quote
mahahaavaaha Posted February 27, 2008 Posted February 27, 2008 Good to hear! Sometimes it's brilliant that errors in programming can be beneficial... /Petri Quote
rollerhippo Posted April 4, 2008 Posted April 4, 2008 i'm not sure if anyone still reads this thread, but i basically have a similar problem, except, being a bit dumb, i dont know how to load that code into a menu or anything. also, i'm on 2007 lt, so will it work? Thanks Quote
SLW210 Posted April 4, 2008 Posted April 4, 2008 Add this part to a custom button. Name the button FlattenAll. ^C^C_UCS;;_move _all;;0,0,1e99;;_move _all;;0,0,-1e99;;_chprop;_all;;_thickness;0;; Quote
rock1 Posted March 20, 2012 Posted March 20, 2012 i dont want the 1e99 location, it adds confusion. is there a way for all the coordinates getting to z=0 and not adding the 1e99? Quote
SLW210 Posted March 20, 2012 Posted March 20, 2012 i dont want the 1e99 location, it adds confusion. is there a way for all the coordinates getting to z=0 and not adding the 1e99? Adds confusion to what? The 1e99 is what makes it work so well. Quote
rock1 Posted March 20, 2012 Posted March 20, 2012 well, some lines get at z=0 and some at 1e99. can you tell me the way to add just 0 instead of 1e99? Quote
ReMark Posted March 20, 2012 Posted March 20, 2012 well, some lines get at z=0 and some at 1e99. can you tell me the way to add just 0 instead of 1e99? Use the QSELECT command to change all lines that have a Start Z value of 1e99. Then use the CHANGE command, Elevation option and set a value of "0". Done. Field tested just minutes ago. Quote
Dadgad Posted March 20, 2012 Posted March 20, 2012 I've never used LT, but do you have in your OPTIONS on the Drafting tab OBJECT SNAP OPTIONS? Typically for a problem like this I would just use the CHANGE command, properties, elevation, 0, enter twice. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.