The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 AutoCAD
 Lisp & Other Handy Files
 DELBLK doesn't work

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Attach a File

Check here to subscribe to this topic.
   

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!

The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.14 seconds. Snitz Forums 2000