×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Change 3d to 2d

Change 3d to 2d

Change 3d to 2d

(OP)
I have used the flatten command to no avail. Is there some new trick to setting all my Z's to 0.00 on a mass scale?

RE: Change 3d to 2d

You could move the "move up and back" technique which flattens most objects:

Command: move
Select objects: all
xxx found
Select objects: [enter]
Specify base point or displacement: 0,0,1e99
Specify second point of displacement or <use first point as displacement>: [enter]
Command:
MOVE
Select objects: p
xxx found
elect objects: [enter]
Specify base point or displacement: 0,0,-1e99
Specify second point of displacement or <use first point as displacement>: [enter]

RE: Change 3d to 2d

Yes, Carl is right ,

or You can use a lisp, if You want...

Lothar

ADT 2004
ACAD 2002

RE: Change 3d to 2d

(OP)
A lisp would be great....anyone got one they would share with me?

RE: Change 3d to 2d

E-mail?

ADT 2004
ACAD 2002

RE: Change 3d to 2d

Lets say that you have some lines in a drawing that have different "Z" coordinates. This might be an exploded model, or results of other operations that resulted in lines in the drawings having different Z's. Even if both ends of a particular line have the same Z, it might be at a different Z than other lines, and other lines might all have varying Z's. Some lines are probably also at skewed "angles", with one end at a Z, and the other end at a different Z.

Does that describe your problem? If so, I'd like a little expansion on the move-all-Z approach posted before mine.

I'm limited in my understanding of the suggestion by my understanding of the move command. If I move all, all coordinate points move as a body, maintaining their relationship to each other. This would seem to suggest that lines with varying Z's would still have varying Z's, just shifted to the new position as a result of the move operation. What am I missing if the intent is to change all coordinates to Z=0 of a particular plane?

If that's the intent, any of the hundreds of lisp routines "routinely" available should be able to solve the problem. I've even used grips (long slow process) when the employer wouldn't allow external routines (whew) ! Painful, but it works.
I'd love a bit of expansion on my question, though.
Anyway, good luck!
C. Fee

RE: Change 3d to 2d

C. Fee,

You're right that in theory the move z's to a high value and back shouldn't change the relative endpoint differences.  But AutoCAD can't keep track of the high numbers, and the z's all end up at 0.0.  This method works with most common object but may not work with solids or nested blocks.  You are right to be skeptical, try it on a line of varying z and see what happens!


Carl

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources