Display full version of the post: autolisp grade or slope percentage

pintseta
09.05.2016, 16:02
hi,i'm looking for lisp that could calculate the grade percentage of a polyline, or 2 points.i'm doing it manually now by measuring the polyline by DIST, and the dividing the delta Y by delta x.it doesn't need to necessarily calculate the percent itself, i'm fine with just the decimal fraction.also it doesn't matter if the result will be in the command line or in inserted text.i would be grateful for that, i'm looking everywhere and i cant even find some routine to modify with my limited knowledge of writing lisps. :)

philippe JOSEPH
10.05.2016, 07:23

uploads/175428/SLOPE.dwgHello pintseta, I don't know if it will be useful for you but I personally use a little AutoCAD block here enclosed with 3 dimensions to indicate slopes on my drawings, it gives the angle and the percentage for an horizontal distance of 100.I do this block and use it eventually scaled in each of my drawings in the same project.