Length.lsp

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
For years, my company has been using a lisp app to add dimensions to Plines, in a way that automatically adjusts for take-outs of threaded pipe. We've had a ton of issues over the years keeping it working consistently, but generally the desired outcome is to type "len" into the command line, and it starts up the length.lsp command. This generally involves change the shortcut for lengthen to "long" so the two commands don't trip up over each other.
Yesterday, I installed the newest version of AUtoCAD MEP 2021 to a brand new laptop. I have installed the lsp file into the support directory, but all pathways that I've taken previously to get the .lsp file to run have been unsuccessful.
I've used the Vlide command to load the app and test, and I can't get it to work there either. Normally I've have to create an acaddoc.lsp file to auto load the length.lsp, and I generally will set ACADLSPASDOC to 1 so that it looks for and loads that lisp. I think I've gathered that Autodesk changed how this works, and it now creates a ACAD2021DOC.lsp file in the language folder, but even if I add the load commands to that document, when I type "len" in the command line, it comes back as an UNKNOWN command.
I've attached the .lsp file I'm trying to use. Could someone help me get this to load in the current version of ACAD? It is a huge time savor for us, so whatever steps I need to make this happen would be acceptable.
Thanks