Jump to content

Flatten Command


Andy Clarke
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

  • ReMark

    3

  • Andy Clarke

    13

  • steven-g

    6

  • Tuns

    13

Top Posters In This Topic

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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."

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by Andy Clarke
Amedment
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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. :lol:

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...