bigr1822 Posted December 3, 2013 Share Posted December 3, 2013 All, Has anyone else noticed some change in 2014 not liking lisp routines. I have been using the same Lisp routines in 08,09 and 2013 without any issues. When opening a drawing, I have a acaddoc.lsp that loads automatically. It removes all page setups in the drawing that is getting opening. Then within that same routine, I am importing all new ones from within another drawing. It no longer works with 2014. Here is the error I am getting. AutoCAD menu utilities loaded.; error: bad argument type: VLA-object collection: # I tried uploading the files, but it wont upload. Just sits and spins. Any help will be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted December 3, 2013 Share Posted December 3, 2013 Read this fruitful reply from the wonderful BlackBox http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Enable-LISP-in-AutoCAD-2014/m-p/3912168#M311119 Hope this would help you with it . Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 3, 2013 Share Posted December 3, 2013 Have you configured AutoCAD Security? The link in my signature may be helpful in that regard. Separately, since you're manipulating page setups, you may also find this post useful: (foreach layout (layoutlist) (vla-setactivepagesetup layout "[color="red"]YourPageSetupName[/color]") ) Cheers Quote Link to comment Share on other sites More sharing options...
BlackBox Posted December 3, 2013 Share Posted December 3, 2013 Read this fruitful reply from the wonderful BlackBox http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/Enable-LISP-in-AutoCAD-2014/m-p/3912168#M311119 Hope this would help you with it . That is incredibly kind of you to say, my friend. Cheers Quote Link to comment Share on other sites More sharing options...
Tharwat Posted December 3, 2013 Share Posted December 3, 2013 All the best BB Cheers 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.