commands and behavior = to lsp
commands and behavior = to lsp
(OP)
ok i have several lsp rotines im using often and i have noticed 1 major thing in comparing general system commands and the ones defined in the lsp and that is you cannot use return to repeat the command defined in the lisp i tried createing a macro but the supposid correct syntax wont work it blows thru the command when you add * to the begining of the macro
if everyone helps everybody the world will be a better place





RE: commands and behavior = to lsp
RE: commands and behavior = to lsp
It works just like any other command in that when I'm finished I can hit enter and it runs again.
^C^C^C(IF c:stfpl nil (load "q:/dwg/s-stds/TSA Struc Menus/Lisp2k/stfpl")) stfpl;
This is copied directly off of one of my buttons. All it is basically doiing is loading the lisp if it is not already loaded, just give it the right path. Then the command is entered to start the lisp.
Hope this helps:)
RE: commands and behavior = to lsp
not all lisp that i have use will work like a normal acad command ie meaning that if you press enter it wont repeate i dont know why i thought it would be in the code
CDH
thats actually very helpfull really someone had told me how to do that in a macro before but i had forgotten about it so here a star for u
so as i said befor just running th command for the lsp and afterwards using enter to repete doesnt rerun the command neither does setting up a macro with an * infront of it most of the lsps i have notice use the (COMMAND "_command" "command option" input/point of misc)in the lsp somewhere and if it uses a line like this more than once it normally defaults to the 1st line
does this help explain more
if everyone helps everybody the world will be a better place
RE: commands and behavior = to lsp
I'll do some asking and looking around here to see if I can find anything.
RE: commands and behavior = to lsp