Hi kennet,
I have code routine to load a program,it's ok
Code:
[Transistor]^C^C (if(not c:tran)(load "D:/YBI/Program/AutoLisp/Lisp program/My Alls Program/0307-Transistor.lsp"));tran;
Originally Posted by
kennet.sjoberg
I have this macro in my dropdown meny ( *.mnu/*.mns or *.cui )
Code:
^C^C(if c:bn (c:bn) (progn (load "K:/kennets/Lisp/Block/BlockName.fas" ) (c:bn) ) )
What it does is :
check if the c:bn command is present in curren task
if T run (c:bn)
if nil load the program, then run (c:bn)
It works well when I pick from the dropdown menu,
but it does not run (c:bn) next time when I hit [Space] or [Enter]
( a previous Command runs )
How can I rewrite the macro, so (c:bn) runs again when I hit [Space] or [Enter] ?
: ) Happy Computing !
kennet