Lee Mac Posted August 14, 2008 Share Posted August 14, 2008 I have created a LISP for use in P&ID's in AutoCAD 2004 where I can insert a valve (a block) into a drawing and the LISP routine will automatically align the valve to the line that I am inserting it onto and trim the line at the places that it overlaps the valve. However, when I have tried to create another LISP of the same format to reference a different valve (block) (using a different function syntax), the block that I had previously inserted was re-inserted . The two LISP routines use different 'defun c:' values and reference different filepaths for the location of the blocks, however AutoCAD will just re-insert the block for whichever LISP routine is used first . Is there any way that I can fix this? AutoCAD seems to remember the last block inserted and no matter what filepath is referenced in the LISP file, CAD will insert the remembered block. So is there any way to erase the block memory? (hope all that made sense! ) 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.