Xelathrone Posted April 2, 2014 Share Posted April 2, 2014 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 Quote Link to comment Share on other sites More sharing options...
Tharwat Posted April 2, 2014 Share Posted April 2, 2014 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 ([b][color=blue]/[/color][/b] sw) Quote Link to comment Share on other sites More sharing options...
Tharwat Posted April 2, 2014 Share Posted April 2, 2014 One more thing I have just noticed , one variable is missing as shown below . (while (> 10000 [color=red]baþsayý[/color]) And what 's this variable ( sw ) ? it is not assigned into your routine . Quote Link to comment Share on other sites More sharing options...
Xelathrone Posted April 2, 2014 Author Share Posted April 2, 2014 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" Quote Link to comment Share on other sites More sharing options...
Xelathrone Posted April 2, 2014 Author Share Posted April 2, 2014 By the way "/sw" solved the problem , many thanks to you Quote Link to comment Share on other sites More sharing options...
Tharwat Posted April 3, 2014 Share Posted April 3, 2014 By the way "/sw" solved the problem , many thanks to you You're welcome Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.