Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help with existing LISP - Need to add a Multiply command

4 REPLIES 4
Reply
Message 1 of 5
msalvati
337 Views, 4 Replies

Help with existing LISP - Need to add a Multiply command

I have modified an existing LISP Routine to find the weight per foot of a 2D Profile for Aluminum Extrusion.

need to multiply the current result by 12.

I cannot figure out how to add this command or where to insert it.

Can anyone modify the attached LISP to acheive this result?

Any help would be greatly appreaciated.

Thank you

Tags (2)
4 REPLIES 4
Message 2 of 5
hmsilva
in reply to: msalvati

I'm a metric guy, and I have no idea if it is correct or not, but but to obtain an outcome 12 times greater, just change
(cond ((eq "Aluminium" mat) 0.0972)
to
(cond ((eq "Aluminium" mat) 1.1664)

HTH
Henrique

EESignature

Message 3 of 5
msalvati
in reply to: hmsilva

Thanks Henrique.
That did the trick!
Message 4 of 5
hmsilva
in reply to: msalvati

You're welcome.
Glad I could help

Henrique

EESignature

Message 5 of 5
TROYDAWES
in reply to: msalvati

I have been looking for a lisp to multiply selected text and place the answer in a text feild, and came across this lisp, it has you select the text, then give it a multiplier, then the reulting text is the selcted * the multiplier.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost