 # How to Draw a Line with Slope

I try to draw a sloped line with AccuDraw. I tried this tutorial but it didn't work as expected: https://envisioncad.com/accudraw-with-popup-calculator

For example I input 1000, 1000, 1300 coordinates for the first point, second point will be 40 meters away with %5 slope. In distance, direction mode, I input dist: 40 m, direction: 40 degree, Z: pressed * and input 0.5. Elevation didn't change. I expect that it calculates 40- (40*0.5) How can it be calculated from the first elevation? Edit: corrected (Z * slope) to (distance * slope)

Parents
• Your Z would be 40(hit)*(type)-0.05

That is "40 feet at 5% down"
5% on it's own doesn't mean anything - it can only be applied to a distance.

MaryB

Power GeoPak 08.11.09.918  • • Answer Verified By: Edip Ahmet TAŞKIN

• I input 1000, 1000, 1300 coordinates for the first point

are you trying to do this in 3d?

It's pretty easy in 2d but you have to use the trigonometric options for accudraw to calculate the angle and use a length of 40 see help for that to use trig calculator to draw the 40 long with the tangent  of 5 in 100 for the angle or get your window scientific calculator out and calculate the angle for a 5 rise  in 100 run the angle then in accudraw 40 long and the calculated angle

or a much simpler way without calculator or trigonometry draw a line 100 long in x and 5 in the y at the end of 100 long this establishes the angle  without trig ( or draw a triangle with placeline  x=100, then up or y 5 then back to start point...

now place a circle radius 40 from start point and extend the  sloping  or hypotenuse of your triangle to intersect the edge of your circle

Sorry I cant  figure it out in 3d .. 3d trigonometry is really hard..

There are several FREE macros available from many DoTs to draw sloped lines, annotate sloped lines and even allow for  vertical exaggeration and input as percentage or 1 in X for  V :H etc... but depends on what version of Mstn your  using and you have not told us your version..

Lorys

Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80)

MicroStation user since 1990 Melbourne Australia.

• • • I input 1000, 1000, 1300 coordinates for the first point

are you trying to do this in 3d?

It's pretty easy in 2d but you have to use the trigonometric options for accudraw to calculate the angle and use a length of 40 see help for that to use trig calculator to draw the 40 long with the tangent  of 5 in 100 for the angle or get your window scientific calculator out and calculate the angle for a 5 rise  in 100 run the angle then in accudraw 40 long and the calculated angle

or a much simpler way without calculator or trigonometry draw a line 100 long in x and 5 in the y at the end of 100 long this establishes the angle  without trig ( or draw a triangle with placeline  x=100, then up or y 5 then back to start point...

now place a circle radius 40 from start point and extend the  sloping  or hypotenuse of your triangle to intersect the edge of your circle

Sorry I cant  figure it out in 3d .. 3d trigonometry is really hard..

There are several FREE macros available from many DoTs to draw sloped lines, annotate sloped lines and even allow for  vertical exaggeration and input as percentage or 1 in X for  V :H etc... but depends on what version of Mstn your  using and you have not told us your version..

Lorys

Started msnt work 1990 - Retired  Nov 2022 ( oh boy am I old )

But was long time user V8iss10 (8.11.09.919) dabbler CE  update 16 (10.16.00.80)

MicroStation user since 1990 Melbourne Australia.
• • 