Always returns ZERO elevation when ID or drawing

Always returns ZERO elevation when ID or drawing

KPerison
Collaborator Collaborator
9,547 Views
3 Replies
Message 1 of 4

Always returns ZERO elevation when ID or drawing

KPerison
Collaborator
Collaborator

Hopefully someone can solve this.

I have a drawing that will always return a zero elevation (Z value) when ID'ing a geometry point (end, center, etc) of lines/polylines/etc regardless of whether they have a z-value other than zero.  This dwg will even disregard the elevation of selection points when drawing lines,etc. 

For example: This dwg has TINN lines extracted from a surface that clearly have endpt elevations greater than zero.

KPerison_1-1600716073413.png

If I use the ID command to interrogate the endpoint of any of the TINN lines it returns 0.000 as the elevation.

If I draw a LINE from the endpoint of the two existing lines the new line is drawn at elevation zero.

KPerison_2-1600716291419.png

Can someone pls explain why this is happening? Is there a system variable that is preventing this dwg from using the selected Z values?

 

😁Mid post update: SOLVED!!!

 

Have determined that this is a result of a Profile setting.

KPerison_3-1600717009465.png

Un-check: Replace Z value with current elevation

 

 

 

 

Accepted solutions (1)
9,548 Views
3 Replies
Replies (3)
Message 2 of 4

wfberry
Mentor
Mentor
Accepted solution

Your explanation is not exactly correct.  What you have highlighted is the command line OSNAPZ command.  It tells me that the ids of the first picture were from line "snaps" to endpoints with the OSNAPZ set to 1.  (I may have this backwards.)

 

Bill

 

 

0 Likes
Message 3 of 4

KPerison
Collaborator
Collaborator

Yes, you are correct. The profile setting I highlighted maps to the setvar: OSNAPZ.

 

Value   Description

0

Osnap uses the Z-value of the specified point

1

Osnap substitutes the Z-value of the specified point with the elevation (ELEV) set for the current UCS

 

30yrs of AutoCAD and there's still more to learn.

I don't know if I should be amazed or depressed about that! 😀

Message 4 of 4

AllenJessup
Mentor
Mentor

ELEVATION is another SYSVAR

 

Annotation 2020-09-23 105948.png

 

Although OSNAPZ was the cause in this case. I've seen instances where there were duplicate lines. One at elevation and one at zero. ID or any command using the Endpont snap will return the zero elevation.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes