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

menu link with lisp

2 REPLIES 2
Reply
Message 1 of 3
Amremad
216 Views, 2 Replies

menu link with lisp

hi all

i have in Drive C a file "Steel.lsp" have function called IPE

in this function have this line 

 

(setq n (getstring "\nEnter IPE Height  :"))

 

 

i loaded it

 

i created a menu and command in it called "Amr"

 

no i need when i click Amr Run IPE with string 270 then click enter

 

i need all this happen automaticlly when i click on "Amr" on menu

 

how???

2 REPLIES 2
Message 2 of 3
hmsilva
in reply to: Amremad

amremad_world,

if I understand correctly, and you only want IPE's 270...

 

replace

 

(setq n (getstring "\nEnter IPE Height  :"))

 by

 

(setq n "270")

 

hope that helps

Henrique

EESignature

Message 3 of 3
Moshe-A
in reply to: Amremad

Hi,

 

[AMR]^C^CAMR 270

 

this tool button macro invoked 'AMR' command and does not pauses

 

is this what you had in mind?

 

moshe

 

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

Post to forums  

Autodesk Design & Make Report

”Boost