The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 AutoCAD
 Lisp & Other Handy Files
 DELBLK doesn't work
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

Thracian
Starting Member

Canada
1 Posts

Posted - January 05 2015 :  12:41:53 PM  Show Profile  Reply with Quote
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

Admin
Administrator



609 Posts

Posted - January 05 2015 :  5:32:37 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
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!

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
   Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2016 Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000