AutoCAD Map 3D General Discussion

AutoCAD Map 3D General Discussion

Reply
New Member
bming
Posts: 2
Registered: ‎01-15-2008
Message 1 of 9 (286 Views)

labelling 3dpoly vertex

286 Views, 8 Replies
01-15-2008 12:54 AM
I create a 3D polyline and I want to display Z coordinate of any vertex with a text or a label.
I find a way to display Z coordinate of first (X1,Y1,Z1) and last (X2,Y2,Z2) vertex with display options but not for any vertex.
Someone can help me?

Thanks
Massimo
Distinguished Contributor
drazen-ars
Posts: 140
Registered: ‎11-07-2007
Message 2 of 9 (286 Views)

Re: labelling 3dpoly vertex

01-16-2008 01:44 AM in reply to: bming
Hi Massimo,

Enough difficult task to practicing my LISP knowledge (it was better in the past), and to remember my programming days.
I did one LISP program for labeling of 3D poly vertexes. Save somewhere file POLY.LSP and load it in AutoCAD with command APPLOAD. Start it with command LAB.

Hopefully will be useful for you.

Drazen Galic
d.galic@studioars.hr
www.studioars.com
New Member
bming
Posts: 2
Registered: ‎01-15-2008
Message 3 of 9 (286 Views)

Re: labelling 3dpoly vertex

01-17-2008 06:53 AM in reply to: bming
Thank you Drazen!
I tried your lisp application and it worked successfully.
Massimo
Member
v.tsamis
Posts: 4
Registered: ‎06-03-2013
Message 4 of 9 (209 Views)

Re: labelling 3dpoly vertex

06-24-2013 05:08 PM in reply to: bming

I tried this Lisp but the Z values are displayed as 0... what I am doing wrong?

*Expert Elite*
Alfred.NESWADBA
Posts: 9,099
Registered: ‎06-29-2007
Message 5 of 9 (200 Views)

Re: labelling 3dpoly vertex

06-24-2013 11:42 PM in reply to: v.tsamis

Hi,

 

>> I tried this Lisp but the Z values are displayed as 0

for me it's working, if you start _LIST and select one of those objects what Z-values do you get? (or upload the drawing with one or two of the objects you tried).

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
*Expert Elite*
antoniovinci
Posts: 1,681
Registered: ‎06-03-2011
Message 6 of 9 (194 Views)

Re: labelling 3dpoly vertex

06-25-2013 01:45 AM in reply to: v.tsamis

v.tsamis wrote:

I tried this Lisp but the Z values are displayed as 0


Perhaps your contours are flattened to ground zero, typical behaviour of digitized topo maps.

Member
v.tsamis
Posts: 4
Registered: ‎06-03-2013
Message 7 of 9 (186 Views)

Re: labelling 3dpoly vertex

06-25-2013 05:36 AM in reply to: antoniovinci

When I type _LIST I can see all the vertex values(Geomentry X,Y,Z). Why is not showing when I apply the lisp?

I include the polylines (any really) I am trying to have Z values visible on my plan.

*Expert Elite*
Alfred.NESWADBA
Posts: 9,099
Registered: ‎06-29-2007
Message 8 of 9 (177 Views)

Re: labelling 3dpoly vertex

06-25-2013 06:26 AM in reply to: v.tsamis

Hi,

 

your drawing has proxy objects and so that tool reports 0 (why ever, I've not looked into the LISP).

You see that this drawing is not clean if you try to use copy/paste to get those polylines to a new drawing. I get then a message that this is not possible because of proxy-objects.

 

If you create a new drawing, then insert that drawing you have uploaded into the new one (with option "explode") then this tool is able to write the Z-values to the polylines vertizes.

 

Good luck, - alfred -

 

 

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Member
v.tsamis
Posts: 4
Registered: ‎06-03-2013
Message 9 of 9 (166 Views)

Re: labelling 3dpoly vertex

06-25-2013 02:42 PM in reply to: Alfred.NESWADBA

Thank you so much... it was as you said. Copy paste to a different drawing and values appear!!

Brilliant

Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.