Autodesk Technology Managers Forum
Share your knowledge, ask questions, and engage with fellow CAD/BIM Managers.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Resetting Z coordinates

15 REPLIES 15
Reply
Message 1 of 16
Anonymous
1484 Views, 15 Replies

Resetting Z coordinates

Is there a program out there that will select all geometry in a drawing and
reset Z to 0?

- Dave R.
15 REPLIES 15
Message 2 of 16
Anonymous
in reply to: Anonymous

Doesn't the Flatten command do that?
Tim
"Dave R" wrote in message
news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> Is there a program out there that will select all geometry in a drawing
and
> reset Z to 0?
>
> - Dave R.
>
>
Message 3 of 16
Anonymous
in reply to: Anonymous

Flatten doesn't come with AutoCAD.
You may be able to find a lisp routine to do this with some entities (lines,
arcs, polylines, etc.)
Optionally, the routine comes with Express Tools, Map and LDD.

- Jim

"Tim S" wrote in message
news:8DBF6334B3813FA1A2FE62DEF16FED66@in.WebX.maYIadrTaRb...
> Doesn't the Flatten command do that?
> Tim
> "Dave R" wrote in message
> news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > Is there a program out there that will select all geometry in a drawing
> and
> > reset Z to 0?
> >
> > - Dave R.
> >
> >
>
>
Message 4 of 16
Anonymous
in reply to: Anonymous

Hit the send key too fast.
Toolpac should be able to do this also.

What I meant was you could probably find a lisp routine by searching the cad
sites on the internet.

- Jim

"Jim Mims" wrote in message
news:675731736E8D3BBB551BA20AF915DC47@in.WebX.maYIadrTaRb...
> Flatten doesn't come with AutoCAD.
> You may be able to find a lisp routine to do this with some entities
(lines,
> arcs, polylines, etc.)
> Optionally, the routine comes with Express Tools, Map and LDD.
>
> - Jim
>
> "Tim S" wrote in message
> news:8DBF6334B3813FA1A2FE62DEF16FED66@in.WebX.maYIadrTaRb...
> > Doesn't the Flatten command do that?
> > Tim
> > "Dave R" wrote in message
> > news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > > Is there a program out there that will select all geometry in a
drawing
> > and
> > > reset Z to 0?
> > >
> > > - Dave R.
> > >
> > >
> >
> >
>
>
Message 5 of 16
Anonymous
in reply to: Anonymous

You could also write a macro to do it but it wont reach into a block and
change entities....

change;all;;p;e;

the walk through is

Command: change

Select objects: all
1287 found
4 were not in current space.

Select objects:
Specify change point or [Properties]: p

Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:e

Eric


"Dave R" wrote in message
news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> Is there a program out there that will select all geometry in a drawing
and
> reset Z to 0?
>
> - Dave R.
>
>
Message 6 of 16
Anonymous
in reply to: Anonymous

I tried flatten but it did not do what I wanted (it did not seem to do
anything...).

What I have is a drawing that should be in 2-d and at first glance looks to
be. If you check the properties of lines and blocks or if you check the
front isometric view it becomes apparent that the z-axis coordinates are all
over the place to the point where line starts and ends are not even in the
same plane.

I tried selecting everything and changing z to zero in the properties dialog
box but ACAD would not let me do this if more than only a few line were
chosen.

- Dave R



"Tim S" wrote in message
news:8DBF6334B3813FA1A2FE62DEF16FED66@in.WebX.maYIadrTaRb...
> Doesn't the Flatten command do that?
> Tim
> "Dave R" wrote in message
> news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > Is there a program out there that will select all geometry in a drawing
> and
> > reset Z to 0?
> >
> > - Dave R.
> >
> >
>
>
Message 7 of 16
Anonymous
in reply to: Anonymous

Eric,

I tried this command line style but it would not change the z-coordinate
geometry I am having problems with. See command line grab below.


Command: change

Select objects: all
18686 found
97 were not in current space.

Select objects:
Specify change point or [Properties]: p

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
e

Specify new elevation : 0,0
Specify second point: 0,0

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:

Cannot change elevation of objects with differing Z coordinates.



"Cadboy" wrote in message
news:1C33F7550033047997FBB4D5AC03B633@in.WebX.maYIadrTaRb...
> You could also write a macro to do it but it wont reach into a block and
> change entities....
>
> change;all;;p;e;
>
> the walk through is
>
> Command: change
>
> Select objects: all
> 1287 found
> 4 were not in current space.
>
> Select objects:
> Specify change point or [Properties]: p
>
> Enter property to change
> [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:e
>
> Eric
>
>
> "Dave R" wrote in message
> news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > Is there a program out there that will select all geometry in a drawing
> and
> > reset Z to 0?
> >
> > - Dave R.
> >
> >
>
>
Message 8 of 16
Anonymous
in reply to: Anonymous

try turning off all the text, then grab all the geometry while your
properties box is open and change z start and end to (0) and see what that
does for you....

you really need the express tool of flatten that should be in full version
of autoCAD....

Sorry but what you are doing is something that I havent had to do in years
and am a little rusty on....

Have you tried changing the view to a side view and seeing what is out of
wack...is it a bunch of items or just a few...if only a few maybe grips
streching it back into place...

Eric

"Dave R" wrote in message
news:7E633054E8FEDD5AEA09296C1F1B4DBF@in.WebX.maYIadrTaRb...
> Eric,
>
> I tried this command line style but it would not change the z-coordinate
> geometry I am having problems with. See command line grab below.
>
>
> Command: change
>
> Select objects: all
> 18686 found
> 97 were not in current space.
>
> Select objects:
> Specify change point or [Properties]: p
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
> e
>
> Specify new elevation : 0,0
> Specify second point: 0,0
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
>
> Cannot change elevation of objects with differing Z coordinates.
>
>
>
> "Cadboy" wrote in message
> news:1C33F7550033047997FBB4D5AC03B633@in.WebX.maYIadrTaRb...
> > You could also write a macro to do it but it wont reach into a block and
> > change entities....
> >
> > change;all;;p;e;
> >
> > the walk through is
> >
> > Command: change
> >
> > Select objects: all
> > 1287 found
> > 4 were not in current space.
> >
> > Select objects:
> > Specify change point or [Properties]: p
> >
> > Enter property to change
> > [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:e
> >
> > Eric
> >
> >
> > "Dave R" wrote in message
> > news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > > Is there a program out there that will select all geometry in a
drawing
> > and
> > > reset Z to 0?
> > >
> > > - Dave R.
> > >
> > >
> >
> >
>
>
Message 9 of 16
Anonymous
in reply to: Anonymous

If it's not too big zip it up and post it to customer files. Maybe I can
give a whack at it.

Allen Jessup

"Dave R" wrote in message
news:7E633054E8FEDD5AEA09296C1F1B4DBF@in.WebX.maYIadrTaRb...
> Eric,
>
> I tried this command line style but it would not change the z-coordinate
> geometry I am having problems with. See command line grab below.
>
>
> Command: change
>
> Select objects: all
> 18686 found
> 97 were not in current space.
>
> Select objects:
> Specify change point or [Properties]: p
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
> e
>
> Specify new elevation : 0,0
> Specify second point: 0,0
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
>
> Cannot change elevation of objects with differing Z coordinates.
Message 10 of 16
Anonymous
in reply to: Anonymous

>Is there a program out there that will select all geometry in a drawing and
>reset Z to 0?

I've long wished for a restoration of the "flatland" feature that an
old version of AutoCAD used to have. However, the method that works
for a lot of the accidental 3-d elements is as follows. First make
sure you are in the world coordinate system, then just type at the
command line (or make a macro);

move
all
0,0
0,0,1e99

MOVE
all
0,0
0,0,-1e99

Basically it moves all the entities to the limits of AutoCAD's
numbers, and then back to 0, and in the process rounds all the
Z-values to 0.

Joe
Message 11 of 16
Anonymous
in reply to: Anonymous

If you just want to reset Z units to 0, select all the entities,
start PROPERTIES command, sort through the types of entities,
manually enter 0 (zero) for all Z settings presented (even if the
screen says they are set to 0).

--
Dean Saadallah
http://www.pendean.com
LT Express utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--
Message 12 of 16
Anonymous
in reply to: Anonymous

Oops, don't forget THICKNESS to 0 as well.

--
Dean Saadallah
http://www.pendean.com
LT Express utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--
Message 13 of 16
Anonymous
in reply to: Anonymous

If you use quick select to make sure that you have all of the entities of
the same type in your selection set you should be able to set z to 0. You
will have to go through every entity type in the drawing, but it shouldn't
take more than a couple of minutes.

Robert

"Dave R" wrote in message
news:67FD527AA29E8B84574CAA4496BBE1A0@in.WebX.maYIadrTaRb...
> I tried flatten but it did not do what I wanted (it did not seem to do
> anything...).
>
> What I have is a drawing that should be in 2-d and at first glance looks
to
> be. If you check the properties of lines and blocks or if you check the
> front isometric view it becomes apparent that the z-axis coordinates are
all
> over the place to the point where line starts and ends are not even in the
> same plane.
>
> I tried selecting everything and changing z to zero in the properties
dialog
> box but ACAD would not let me do this if more than only a few line were
> chosen.
>
> - Dave R
>
>
>
> "Tim S" wrote in message
> news:8DBF6334B3813FA1A2FE62DEF16FED66@in.WebX.maYIadrTaRb...
> > Doesn't the Flatten command do that?
> > Tim
> > "Dave R" wrote in message
> > news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > > Is there a program out there that will select all geometry in a
drawing
> > and
> > > reset Z to 0?
> > >
> > > - Dave R.
> > >
> > >
> >
> >
>
>
Message 14 of 16
Anonymous
in reply to: Anonymous

Good idea. The advantage of this method over using the "change" command to
change the elevation to 0 is that the "change" command doesn't work on lines
whose two ends lie at two different z values. Not useful for smashing 3D
blocks and 3D solids, but great for taming unruly z values.

"Joe" wrote in message
news:3e651dd8.30437366@discussion.autodesk.com...
> >Is there a program out there that will select all geometry in a drawing
and
> >reset Z to 0?
>
> I've long wished for a restoration of the "flatland" feature that an
> old version of AutoCAD used to have. However, the method that works
> for a lot of the accidental 3-d elements is as follows. First make
> sure you are in the world coordinate system, then just type at the
> command line (or make a macro);
>
> move
> all
> 0,0
> 0,0,1e99
>
> MOVE
> all
> 0,0
> 0,0,-1e99
>
> Basically it moves all the entities to the limits of AutoCAD's
> numbers, and then back to 0, and in the process rounds all the
> Z-values to 0.
>
> Joe
Message 15 of 16
Anonymous
in reply to: Anonymous

It depends if you are resetting Z values for Autocad or LDD, it is
different. With ACAD you can do it just by using the CHANGE command.
"Dave R" wrote in message
news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> Is there a program out there that will select all geometry in a drawing
and
> reset Z to 0?
>
> - Dave R.
>
>
Message 16 of 16
Anonymous
in reply to: Anonymous

You want ZERO (0) not 0,0
"Dave R" wrote in message
news:7E633054E8FEDD5AEA09296C1F1B4DBF@in.WebX.maYIadrTaRb...
> Eric,
>
> I tried this command line style but it would not change the z-coordinate
> geometry I am having problems with. See command line grab below.
>
>
> Command: change
>
> Select objects: all
> 18686 found
> 97 were not in current space.
>
> Select objects:
> Specify change point or [Properties]: p
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
> e
>
> Specify new elevation : 0,0
> Specify second point: 0,0
>
> Enter property to change
[Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:
>
> Cannot change elevation of objects with differing Z coordinates.
>
>
>
> "Cadboy" wrote in message
> news:1C33F7550033047997FBB4D5AC03B633@in.WebX.maYIadrTaRb...
> > You could also write a macro to do it but it wont reach into a block and
> > change entities....
> >
> > change;all;;p;e;
> >
> > the walk through is
> >
> > Command: change
> >
> > Select objects: all
> > 1287 found
> > 4 were not in current space.
> >
> > Select objects:
> > Specify change point or [Properties]: p
> >
> > Enter property to change
> > [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:e
> >
> > Eric
> >
> >
> > "Dave R" wrote in message
> > news:BF600C1470433135DDF25F289CE41193@in.WebX.maYIadrTaRb...
> > > Is there a program out there that will select all geometry in a
drawing
> > and
> > > reset Z to 0?
> > >
> > > - Dave R.
> > >
> > >
> >
> >
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report