Jump to content

Flatten a drawing


samifox

Recommended Posts

hi

 

using autocad 2017,

having a drawing with unwanted Z axes.

the drawing contains nearly all kinds of objects.

 

tried using Flatten but without success

(drawing attached)

 

ay idea?

 

Tx

mig_607.dwg

Link to comment
Share on other sites

I had this problem once. You have two main choices. One, write a routine to replace every Z coordinate with zero. Two, use Quick Select, use Properties to get each type of object, and manually type zeroes into the Z coordinates. Unless you have a similar routine already, it's probably quicker to use the second option. And by now, you've had time to do it.

Link to comment
Share on other sites

I had this problem once. You have two main choices. One, write a routine to replace every Z coordinate with zero. Two, use Quick Select, use Properties to get each type of object, and manually type zeroes into the Z coordinates. Unless you have a similar routine already, it's probably quicker to use the second option. And by now, you've had time to do it.
I downloaded the drawing and tried this. It is possible even though I am only running LT, and FLATTEN doesn't exist in LT.

 

It would have been easy if there were not a couple three dozen block definitions with content that had varying "Z" values. It would have required opening each block in the block editor and changing the Z there. Too much. Attribute def's with a Z of -53,896.087 units, while the rest of the block was at zero Z? Seriously? :shock: That drawing is not even 3D, or shouldn't be, and it is a meZZ. a hot meZZ.

 

There were also objects 50 k and 100 k units up too. cheeeze looeeeze!

 

And the text objects and dimensions, very hard to manipulate manually in Properties. What's with all the oddball scale factors? It was a fun exercise but got tedious and the results were kinda messed up so I didn't save it. Wouldn't want the OP to overwrite a good drawing with my bad one by accident.

 

And everything in the drawing is miles from 0,0,0.

 

I don't even want to know why a lot of the text is backwards, really backwards. Some of it only looks backwards because it is not an English character set, but the rest of it is flat out backwards. Maybe it is Davinci Code?:D

Link to comment
Share on other sites

Lots of blocks with the items inside having z values, you'll need to find a LISP to set everything inside blocks and maybe even some nested blocks to have Z=0, then you can set the rest to Z=0.

 

Yes, this drawing was poorly done.

Link to comment
Share on other sites

I used the old 0,0,1e99 method, found in this post: http://www.cadtutor.net/forum/showthread.php?43691-Floating-lines-in-sketchup-after-importing-them-from-ACAD-What-should-i-do&p=303014&viewfull=1#post303014

 

This took care of all the objects not in blocks. I then used QSELECT to select all Line and Polyline elements, in which I set the Thickness value to zero. All that is left was the blocks, which were few.

 

-TZ

Link to comment
Share on other sites

Dana: Are you saying that whoever created the drawing should seriously think about getting into another line of work?:ouch::lol:
Well, not a line of work exactly...
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...