Is there any way, in plain vanilla MicroStation, to measure the slope of a line? Assuming 2D, basic XY coordinates, no exaggeration.
Thank you
MaryBMSTN 08.11.09.397
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.
Not true. Macro reports a 2D slope based upon Delta Y/ Delta X but 3D slope based upon Delta length/Delta Z.
This version adds a place text above line in the middle - only uses 2D slope in this version.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration
CAD COP I have that one I think it was by Tim shoemaker of the TMC but it is compiled version of bas and needs 2 macros but it only works in XM not 8i.. slopeset.ba and Slope.ba
the Slopeset.ba works in 8i but not the label slope which is slope.ba,
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
Here is a vba I wrote many years ago, it does ratio/percent as allows for exag, and adding a negative in front of the number. The keyin is "vba run [slopelabler]startup.main". it does not factor the z in a line.
Larry WilsonLWilson@LJBinc.com
Unknown said: Here is a vba I wrote many years ago, it does ratio/percent as allows for exag, and adding a negative in front of the number. The keyin is "vba run [slopelabler]startup.main". it does not factor the z in a line.
thanks a big bunch Lawrence
from Lorys
Larry
Looks like I spoke too soon,
I get run time error windows 7 , ustn ss1 but the dialog runs
Several years later, it turns out I would need a tool similar to this to speed up my work. I edited the VBA to calculate DeltaZ over line length. I commented out the old code and the "-" label because I did not need these for sidewalk ADA work. So if someone in the future needs this, see attached.Edit: Not sure why the forum prefixed the file name with "0882"0882.SLOPELABLER.mvba