Lee Mac Posted August 28, 2008 Share Posted August 28, 2008 I have written an AutoLISP routine, (see below), but would like to insert a few lines to cope with errors, (such as if the user presses 'Esc' halfway through - the Osnap settings are all still turned off and have to be put back on manually). The LISP is used to insert a block (a valve on a P&ID) which has an attribute which is the valve number. Another issue I am having is that AutoCAD 2004 will not let me run another LISP similar to the one posted and allow me to insert a different block - it will just insert the same block all the time.... Any ideas? INSBLOCKGATE2.lsp Quote Link to comment Share on other sites More sharing options...
ASMI Posted August 28, 2008 Share Posted August 28, 2008 Error handler added. Insblockgate3.lsp Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted August 29, 2008 Author Share Posted August 29, 2008 Thanks for the help! much appreciated 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.