
This AutoLISP script automates the calculation and annotation of slopes or grades between two user-defined points within AutoCAD. Designed for precision in site engineering, this AutoLISP utility streamlines the process of determining vertical gradients. It functions by prompting the user to select two distinct points within the drawing environment, subsequently calculating the slope or percentage grade based on the coordinate data provided. The script automatically generates a text annotation at the specified location, ensuring consistency across complex grading plans. By eliminating manual calculations, it reduces human error in site analysis, allowing for rapid iteration of land development designs and precise documentation of surface drainage paths or ramp inclinations.
The download is a single file containing .LSP files.
To implement this tool, load the LSP file into the current AutoCAD session using the APPLOAD command. Once loaded, execute the specific command defined in the script to activate the function. The user is prompted to click two points on screen; the routine then performs the mathematical operation and places the resulting grade value as an MText or Text object, adhering to current layer and text style settings established in the project template.
This utility is essential for civil engineers, landscape architects, and site planners working on grading designs, drainage layouts, and infrastructure projects. It is particularly valuable during the schematic and design development phases when frequent adjustments to site levels are required. Professionals can use this to quickly verify accessibility compliance for ramps, confirm runoff directions on parking lots, or annotate road profiles. It integrates seamlessly into standard workflows for residential, commercial, or public works projects where accurate grade documentation is required.
SLOPE — Grade Between Points AutoLISP Script
Free
File formats
What changed in 1.0.0
Initial release.
MIT
Attribution: Hydro Engineer (mf4633) — licensed under MIT
Full terms have not been published for this listing. Contact the seller before using it on a commercial project.