Brick_top Posted January 16, 2012 Share Posted January 16, 2012 ok I have a routine that its doing something I can't get I have it set to load with every drawing. but when I run it, after the first dialog box it prompts me this error ; error: bad argument type: (or stringp symbolp): nil the routine will start working as I want it if I open it in VLIDE and choose "Load text in editor" Why is this? Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 16, 2012 Author Share Posted January 16, 2012 I already went here: http://lee-mac.com/errormessages.html but I can't make the vlisp to point me to the error. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 16, 2012 Share Posted January 16, 2012 Follow this to determine the source of the error: http://lee-mac.com/debugvlide.html Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 17, 2012 Author Share Posted January 17, 2012 Hi lee I followed your tutorial some time ago and I did try that, but the vlide doesn't point me to the error when I select "last break source" it only shows a dialog box with the error I posted in the first post. Truth be said I didn't follow the "watching variables" part. I will do that now. Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 17, 2012 Author Share Posted January 17, 2012 Well this is weird for me. I removed the routine from the startup suite and added it again, and now it is working edit - by the way I'm sure it was the same routine Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 24, 2012 Author Share Posted January 24, 2012 This is happening again now in two routines, they will only work as I want them when I load them with "load text in editor". The editor doesn't point me to the error but I check some variables which should be set with the dcl and they are nil. Quote Link to comment Share on other sites More sharing options...
BlackBox Posted January 24, 2012 Share Posted January 24, 2012 More information is needed; consider posting your code to allow us to better assist you. Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 24, 2012 Author Share Posted January 24, 2012 well this is very specific to a file: You would have to change the directories I have in the lisp file with ones to test. after that you need to open the Lista.dwg file I attached load the lisp and type "proc" to start. than in the dialog box you can put for example "pacheco" if everything goes well a new dialog box should appear with search results, otherwise it just gives an error. Sorry about the messy code. Lista.dwg proc.lsp proc.dcl Quote Link to comment Share on other sites More sharing options...
Brick_top Posted January 25, 2012 Author Share Posted January 25, 2012 commented out a part and changed the name to a function, don't know why but now it works. thanks 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.