Andy Clarke Posted September 10, 2013 Posted September 10, 2013 Hi Sorry if this has already been discussed and a solution has been found, i have been searching but can't find a solution that has worked for me. i am currently working using AutoCAD 2012 LT and work with OS Site Plans and on a number of plans i have had a problem where some of the objects (lines, circles, arcs) are on a different Z elevation and have problems with snap and trim ect. one solution i come across was creating a new command ( C^C_move;_all;;0,0,0;0,0,1e99;_move;_p;;0,0,0;0,0,-1e99 ) which in most cases has worked for me but have noticed some objects have been removed from the drawing. i hope someone will be able to help as this has stressed me out over the past few weeks Thanks Andy Quote
ReMark Posted September 10, 2013 Posted September 10, 2013 Removed or relocated out of your line of sight? Quote
ReMark Posted September 10, 2013 Posted September 10, 2013 You said objects were removed (deleted?). Could they have been moved to another part of the drawing that is not in your field of view at the moment? Have you done a Zoom > All or a Zoom > Extents? Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 ahh sorry i understand now just checked and it looks like when using this command it moves all the objects around and doesn't remove / delete them do you know of away of making everything with Z=0 but keeping everything in place? Thanks for the quick response Quote
SLW210 Posted September 10, 2013 Posted September 10, 2013 Are the troublesome objects Blocks? You may have to just redraw the objects at Z=0. Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 C^C_move;_all;;[color="red"]0,0,0;0,0,1e99;[/color]_move;_p;;[color="red"]0,0,0;0,0,-1e99[/color] Out of curiosity, what does the red part do? Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 nah the objects that are moved seam to be arcs (all i have found up to now) Tuns i just copy and paste and command that someone else had made which works for 99% of the drawing but moves objects around Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 I'm just stumped as to what the 1e99 is... I woulda thought something like this: ^C^Cmove;all;;0,0,0;; would work better. Did the original writer say what 1e99 is? Quote
ReMark Posted September 10, 2013 Posted September 10, 2013 This explanation was written by Donnie Gladfelter and posted at the CAD Geek website. "What the above macro does is moves the objects you select above the maximum range for AutoCAD which results in those objects being placed at the maximum height of 1e99. Now that all of the selected objects share a common elevation, we can move them down –1e99, and the final elevation will be 0. Put another way, the functionality of the FLATTEN command has been emulated through a Macro." Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 Ohh, thanks ReMark. I've just never heard of 1e99 before so I didn't have a clue. As for the original problem, I don't experience any issues with this macro. Nothing has moved out of place and all the arcs are still unchanged. Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 I'm just stumped as to what the 1e99 is... I woulda thought something like this: ^C^Cmove;all;;0,0,0;; would work better. Did the original writer say what 1e99 is? just tried to edit and use this command but it never worked Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 thanks for all the help so far guys has anyone else experienced problems using this macro or has another solution to this problem? i feel like pulling my hair out Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 So it's not moving the arc's/circles to the correct elevation or it's moving them around the drawing to places they shouldn't be? Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 (edited) its moving the arcs away from the positions they where originally in before moving the Z co-ordinate i have just tried this same command with another drawing that i have been struggling with and it is doing the same moving objects out of there positions Edited September 10, 2013 by Andy Clarke Amedment Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 Would it be possible for you to give me one of the drawings? If they're too big to post here I'll give you my email via private message. Quote
Andy Clarke Posted September 10, 2013 Author Posted September 10, 2013 PM me your email and i ill send over the drawings Quote
steven-g Posted September 10, 2013 Posted September 10, 2013 Try it this way C^C_move;_all;;0,0,0;0,0,1e99;_move;_all;;0,0,0;0,0,-1e99 It's only a small difference but should work Quote
steven-g Posted September 10, 2013 Posted September 10, 2013 I will just post it here as you have your profile set up to not receive a private message, and I trust everyone here to not send any spam. It's irohan@gvtc.com Don't trust anyone, their out to get you If you get an e-mail go back to your post and EDIT the e-mail out Quote
Tuns Posted September 10, 2013 Posted September 10, 2013 That's the same thing essentially. How would it make any difference in the outcome? Don't trust anyone, their out to get you If you get an e-mail go back to your post and EDIT the e-mail out Yeah that was my plan. 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.