Measure the slope of a line?

Is there any way, in plain vanilla MicroStation, to measure the slope of a line? Assuming 2D, basic XY coordinates, no exaggeration.

Thank you

MaryB
MSTN 08.11.09.397

  • MaryB

    1. Draw a Line

        a. snap to one end of your line

        b. with accudraw active drag this new line to the right and type 100 in the X value in Accudraw

        c. drag the line up and in Accudraw type N (nearest)

        d. snap to your existing line

    n

        e. Accudraw will display the Y value with being a factor of the X 100 is a percent

    2. so reading the value in Y the slope of this line is 20%

    3. you can copy a value in Accudraw for pasting in other places (placing text)

    4. you can Reset to cancel placing the second line, once you are satisfied with the results.

    Try it a few times with different lines to see if it is what you expect.

    NOTE if you are working on an exaggerated scale (10:1) use 10 in stead of 100 for the same results.

    ALSO: if you want a line at a set slope, you can begin drawing the line and type 100 for X and "your slope" for Y, then type A to switch Accudraw to Polar input, and you will be able to extend the line to the correct Distance.

     

    Brent

    Accudraw ... Learn it, Live it, Love it.

     

    Brent

  • pretty neat solution, I like it!

    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.
    click link to PM me 

  • Thanks. I know how to create and calculate a slope. I guess I was hoping the there was some sort of dimension or measure tool that could do it for me.

    MaryB

    Power GeoPak 08.11.09.918
    Power InRoads 08.11.09.918
    OpenRoads Designer 2021 R2

        

  • found this bas file from Noah Gordon in the ng archives you gotta love google for this kind of search the forum search missed it completley..

    works in V8i great and also 3d  just measure no labelling.. just what you asked for ... sent you copy off line no thought it best to share it with everyone so it comes out of the archives for a while and hopefully some one can modify it in vba to have some other options beside percent and some gui menu...

    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.
    click link to PM me 

    slope.bas
  • Slope cannot be calculated in a 2d file. Slope is relationship of the change in elevation to the horizontal distance. There is no elevation in a 2d file. The provided basic macro requires a 3d file.