T O P I C R E V I E W |
Thracian |
Posted - January 05 2015 : 12:41:53 PM I have been experimenting with this lisp routine and I can't get it to work. I have a number of block to delete but if the DELBLK doesn't work I will have to go thru each drawing and delete the hard way. I have no idea why it fails. Anyone else come across this problem? Thanks |
1 L A T E S T R E P L I E S (Newest First) |
Admin |
Posted - January 05 2015 : 5:32:37 PM Hi Thracian,
I've tried the delblk.lsp routine on my system and seems to work fine. I have heard of other issues though, so not isolated. I'm not a lisp expert, so I wish I could help better...
However, here are some suggestions...
This site has something similar, except needs to be called using VBA, which isn't difficult either... http://www.lee-mac.com/deleteblocks.html
You can also see other source code here... and modify to suit your needs... http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/delete-and-purge-block-by-name/td-p/4471769
There is also this, which may be used indirectly to select the block name, then delete it (in 2 steps). https://autocadtips.wordpress.com/2012/09/19/autolisp-select-block-by-name/
I hope those help!
Please respond if you find a solution/success! Thanks!
|
|
|