Error: Too few arguments ?
Hi,There is a problem with my lisp. When i tried to activate it , it gives "error:too few arguements" problem. Can you help me?
bw.lsp Welcome to CADTutor .
Firstly localize your variables then since that your routine does not need to any argument , then you should have a slash before the localized variables .
(defun C:sw (/ sw) One more thing I have just noticed , one variable is missing as shown below .
(while (> 10000 baþsayý)
And what 's this variable ( sw ) ? it is not assigned into your routine . Actually when i active this lisp , it helps to numerate the welding spots increasing by 1.
SW is socketweld , can we add SW mark before the numbers? Could it increase after clicking like "SW1 , SW2" By the way "/sw" solved the problem , many thanks to you
You're welcome
页:
[1]