possbily, but they are possibley ecnrypted as well. The two files I think are applicable that were part of the zip you sent earlier are encrypted. Before you send anything, open the files with your text editor and see if it is indeed text or gobbledegook
So it seems like the (len) command simply runs the code in the length.lsp file
I saw that you already added the suggested changes. Did you give it a try and ran the code?
I don't know what (unit) is doing, so maybe the (setq cl (getvar "CLAYER")) should go before that.
And then at the end of the code in length.lsp just set the CLAYER variable instead of using the LAYER command - might be simpler.
(setvar "CLAYER" cl)
I hope this helps.
If my post answers your question, please click the "Accept as Solution"
button. This helps everyone find answers more quickly!
ha! When I tested (setvar "clayer" 0) I obviously forgot the quotes around 0 - thought it was read only so I went the command layer route
I have not had a chance to mess with it since I got all the lsp routines; the original poster said he inserted the commands but that it did not work.
Will try again - have been slammed here at work for a while
It turns out that the len.lsp file is encrypted as well; the decrpter I found does not decrypt it. there are only 2 characters in the len.lsp - 2 and a dos-looking character
Len.lsp attached here for those with more experience than me
Yes, but len.lsp does not seem to be used by the "len" command.
At least inside the acad.lsp there is this line which says that the "len" command simply runs the content of "length.lsp" and not "len.lsp":
(defun C:len () (load "length") )
somewhere there is a defun for len - I can't find it. Everytime I try to run the routine it crashes on a (load "round") even though I have commented that line out in the lengthen.lsp. And Round.lsp is protected too.
This routine appears to do a lot - maybe too much.
Whitey - can you describe exactly what this routine does? It appears to measure a distance then print the distance on a dim layer (creating a text style called "polaris" while it is at it).
Adam - can you tell me where you got your decrypter (if you have one)?
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.