I hope for the last time on this subject. I found the original, no need to translate in the first place and the error that I reported on earlier is also gone. They must have put it in when it was translated into German.
> I hope for the last time on this subject. I found the original, no need to translate in the first place and the error that I reported on earlier is also gone. They must have put it in when it was translated into German.
> You can fight over it or each can take a separate copy.Of course, you can customize it by adding more materials or make it more accurate. I did the best I could.
> P.S. I was just going to check it with a 1.0 cu-in block for accuracy and it gave me an error message, yet it worked before on a different body?? I'll keep you posted - although I am probably as good in lisp as you are, I know next to nothing.
> Message was edited by: dknaggert
if you're as good as me at LISP then you certainly do know nothing
I crowed too early. Although the earlier version worked, I wasn't quite happy with it and I did some more editing. The stupid error message "x is not a known command" is gone and the material selection is now correct. I have no idea why the "x" was in there, so I just took it out. I also put the mass units in so that one can not make the wrong assumption as to what the numbers mean.
I tried running the lisp and got the error " Cannot Find Definition for 3D_MASS" the last one the dialog box came up put this one doesn't. I would look at the lisp "code" itself but to me it might as well be back in German. I just know how to use them not write them.
That is the extension that AutoCad (and this lisp routine) normally uses to store data when you ask for mass properties and agree to the option of saving the data in a file. M(ass) PR(operties) I guess.
P.S. Hey, I didn't know this, they censor this thing. It will not publish Mass without the M - pretty funny
Message was edited by: dknaggert
"Write analysis to a file? [Yes/No] : _y Enter file name <>
Settings\joshuajohnson\My Documents\Drawing2.mpr>: c:/acadmass.mpr
"C:\acadmass.mpr": Can't open file
Command: ; error: bad argument type: FILE nil"
I didn't know if the extension was for another program or what.
Oh and sorry for having bothered you to look the lisp so many times. I'm slowly understanding how to code the lisps.>
No problem, but I think I know now what is happenig. I downloaded the *.zip from here again and expanded it. AutoCad wouldn't even load it. There is a bug in WinZip that prevents you from restoring the original. Therefore, I used WinRar this time. I expanded this also and it worked. Good luck.