Lisp to auto change end Z if slope is known

Lisp to auto change end Z if slope is known

Anonymous
Not applicable
661 Views
1 Reply
Message 1 of 2

Lisp to auto change end Z if slope is known

Anonymous
Not applicable

I have a road drawn with stations every 50 feet. A line going left and right at every station (so a ton of lines).  If I know the center point elevation at each station, is there a LISP that can calc the end Z of the line if i input the slope?

 

So start Z = 100.00

     line = 30 feet

     slope = -2%

     LISP would need to automatically change Z value to 99.40 (not a text block but actually change the value of the end of the line)

 

is this something that might exist?  i have no idea how to design code so i am not sure if this is even possible

the file attached has the first couple stations done and rest are at all 0 for elevations.  This is because I am typing everything in and thought I would try this forum while i was doing it.

0 Likes
662 Views
1 Reply
Reply (1)
Message 2 of 2

Kent1Cooper
Consultant
Consultant

[See the other thread moved here from another Forum]

Kent Cooper, AIA
0 Likes