AutoCAD R12/R13/R14 Archive

Reply
Active Member
allaw
Posts: 10
Registered: ‎09-24-2002
Message 1 of 4 (468 Views)

change z-axis coordinate to "0"

468 Views, 3 Replies
09-19-2002 01:23 AM
Is there a command that will change all the object's z-coordinate to "0". This will be used with mostly 2-d line object. i.e when you have left or right view everything is located on the x-y plane.
Active Contributor
-Brian-
Posts: 33
Registered: ‎07-14-2003
Message 2 of 4 (468 Views)

Re: change z-axis coordinate to "0"

09-19-2002 04:09 AM in reply to: allaw
I was wondering the same thing. I have a drawing that has some lines, when viewed from the side, that start on the zero (Z) plane and end up somewhere in space on a different (z) plane. I've tried to use the properties box and reset the values of the starting (Z) axis and the ending (Z) axis to zero, but there's just too many lines to do this one at a time.

Anyone know a of a way to do this?

Thanks,
Brian
*Shev, Barry
Message 3 of 4 (468 Views)

Re:

09-19-2002 05:55 AM in reply to: allaw
There are lots of lisps out there that do this. One is called
Flatten.lsp. others may be available at Dotsoft.com

or , you can try the attached file that I wrote for my own needs. It
takes lines (not plines , arc or circles) and moves the endpoints to
zero elevation.

-Brian- wrote:
>
> I was wondering the same thing. I have a drawing that has some lines,
> when viewed from the side, that start on the zero (Z) plane and end up
> somewhere in space on a different (z) plane. I've tried to use the
> properties box and reset the values of the starting (Z) axis and the
> ending (Z) axis to zero, but there's just too many lines to do this
> one at a time.
>
> Anyone know a of a way to do this?
>
> Thanks,
> Brian
Distinguished Contributor
petd
Posts: 159
Registered: ‎07-16-2003
Message 4 of 4 (468 Views)

Re: change z-axis coordinate to "0"

09-19-2002 07:01 PM in reply to: allaw
make a Macro Button from this. ^C^C_move;_all;;0,0,0;0,0,1e99;_move;_p;;0,0,0;0,0,-1e99;

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community




Connect with AutoCAD

Twitter

Facebook

Blogs

Pinterest

Youtube