TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Scott on October 14, 2006, 01:04:43 AM

Title: Label polylines elevation
Post by: Scott on October 14, 2006, 01:04:43 AM
Hello everyone,

I'm sure this has been addressed in the past, but I can't seem to find what I need when searching, so here we go.

I need a lisp routine that will allow me to pick a polyline and label the elevation of said polyline along the polyline at user specified intervals.  I'm using MAP 5.

Any help is greatly appreciated.

Scott
Title: Re: Label polylines elevation
Post by: CAB on October 14, 2006, 09:25:41 AM
Scott, I thought MAP could do that with an existing command? I don't have MAP
but am remembering a past thread. Maybe it was Civil I'm remembering.

I'm sure I've seen more on the subject but this is all I could find this morning.

http://www.theswamp.org/index.php?topic=10412.msg132910#msg132910

http://www.theswamp.org/index.php?topic=12704.msg155663#msg155663
Title: Re: Label polylines elevation
Post by: Scott on October 14, 2006, 12:00:47 PM
CAB

The routine to label the polyline nodes with the elevation is pretty much what I'm looking for, but I would like to be able to set the distance to label the polyline and have the elevation parallel to the polyline.

Thanks for the input,


Scott
Title: Re: Label polylines elevation
Post by: CAB on October 14, 2006, 05:41:44 PM
You need to look at this command.
Code: [Select]
(vlax-curve-getPointAtDist curve-obj dist)Can you modify the lisp?
Title: Re: Label polylines elevation
Post by: Scott on October 14, 2006, 07:39:08 PM
I have no clue how to modify lisp.  I wouldn't know where to begin.

Scott
Title: Re: Label polylines elevation
Post by: Scott on October 17, 2006, 10:20:05 AM
CAB

Thanks for the help, but I have found a solution.

Scott
Title: Re: Label polylines elevation
Post by: CAB on October 17, 2006, 10:31:07 AM
You're welcome Scott, glad you got it solved.