See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Delete used block.

  1. #1
    Member
    Join Date
    2011-01
    Posts
    6
    Login to Give a bone
    0

    Default Delete used block.

    Hi, everybody.
    How can i delete all insertions of the block (it can be situated on some layouts) in a single drawing.
    The programm from Lee Mac (http://www.lee-mac.com/programs.html) is not good for me,
    i want to wright the name of the block, not to find it in the message box.
    Thanks.

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,106
    Login to Give a bone
    1

    Default Re: Delete used block.

    You can run Lee's routine from the command line and supply the name of the block at the same time. The command will just have to be surrounded by parenthesis. You'll also want to place the names of the block in quotes as shown below.
    Code:
    LM:DeleteBlocks (vla-get-activedocument (vlax-get-acad-object)) '("Name of Block Here" "Another Block Name Here" "And Yet Another Name Here"))
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Member
    Join Date
    2011-01
    Posts
    6
    Login to Give a bone
    0

    Default Re: Delete used block.

    Thanks a lot.

Similar Threads

  1. DELETE BLOCK CODE HELP
    By jayhay35365091 in forum AutoLISP
    Replies: 4
    Last Post: 2013-11-14, 01:16 AM
  2. delete elements outside a block
    By matthew.221135 in forum AutoCAD General
    Replies: 3
    Last Post: 2012-10-16, 07:09 AM
  3. Delete block
    By krkeec763189 in forum Dot Net API
    Replies: 3
    Last Post: 2011-12-19, 04:44 PM
  4. Delete Block LSP
    By 1966ford in forum AutoCAD Customization
    Replies: 1
    Last Post: 2011-02-03, 01:24 PM
  5. Can you delete a mask block?
    By bercherdbrc138323 in forum ACA General
    Replies: 2
    Last Post: 2007-05-02, 01:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •