yathishkumar Posted November 5, 2014 Share Posted November 5, 2014 WHEN I OPEN NEW DRAWING AutoCAD menu utilities loaded.; error: bad argument type: stringp nil Thanx Quote Link to comment Share on other sites More sharing options...
MSasu Posted November 5, 2014 Share Posted November 5, 2014 Seems that there is an AutoLISP code that is loaded automatically; there were many ways to do this (acad.lsp/acaddoc.lsp auto-loaders, MNL files or Start-up utility). You will need to locate what trigger that loading and locate the code. After may attempt to debug it by yourself or post it here. Other, is impossible for one to assist you on this. To validate for auto-loaders paste those statements on command line (presuming that weren't compiled): (findfile "acad.lsp") (findfile "acaddoc.lsp") For MNL is a little tricky since the menu file doesn't neccessary resemble its name (available by MENULOAD command). My help to look on the folders from Support File Search Path list (command OPTIONS) for files with MNL extension. Or call APPLOAD command and check content of Start-up list. By the way, is this happening when you open an existing drawing? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 5, 2014 Share Posted November 5, 2014 Try the following steps: Open AutoCAD to a new drawing. Type VLIDE at the AutoCAD command-line to open the Visual LISP IDE. Under the 'Debug' menu, ensure 'Break on Error' is enabled and leave the VLIDE window open. In AutoCAD, click the QNEW button to open a new drawing. When the error occurs, go to the VLIDE window and click on 'Debug' > 'Last Break Source' (or Ctrl+F9). The expression causing the error should be highlighted in the VLIDE window. Lee Quote Link to comment Share on other sites More sharing options...
yathishkumar Posted November 5, 2014 Author Share Posted November 5, 2014 I try ed it's not working Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 5, 2014 Share Posted November 5, 2014 I try ed it's not working What happened when you followed the steps I posted? (if anything) Try unloading your customisations one-by-one & opening a new drawing until you no longer receive an error - you will then know the culprit program. 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.