Results 1 to 7 of 7

Thread: purge all not purging *__ (blocks)

  1. #1
    Member
    Join Date
    2003-01
    Posts
    4
    Login to Give a bone
    0

    Default purge all not purging *__ (blocks)

    How can this be automated? I need to exit the purge each time and do a qsave then cycle/repeating both commands until no other blocks show up.

    Am I not doing this correctly?

    thank you,

    mike byrne

    michael.byrne@crossmatch.net

  2. #2
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    What causes this problem is blocks being referred to inside other blocks (nested). And since leaders and dimensions create anonymous blocks, they can show up without you even knowing about it.

    In pre-2004 (not sure about 2002), you should be able to just run the purge command a few times, but you shouldn't have to save to get it to work.

    In 2004, in the purge dialog box, click the purge nested items box, and it will purge all blocks, including those nested inside other blocks.


    Also, in the future, please let us know what software you are running so we can better help you, as different versions may have different solutions

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    Hi

    Check out the following Submissions # EX001037 & EX001047 & EX001124 on the AUGI Exchange Page -

    AUGI Exchange Search Page

    They should get you going in the right direction.

    Have a good one, Mike

  4. #4
    Member
    Join Date
    2003-01
    Posts
    4
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    It is MDT 6 we are using, and thank you Mike. I need a routine that purges ALL unrefernced blocks, saves and continues to purge all unreferenced block until there are no more. THAT is what "purgeall" should do. (PURGE-ALL)

    In the interim unitl it is fixed I wrote a simple script to execute 6 routines called multipurge.scr like this:

    _purge
    _all
    *
    _n
    _qsave
    ;
    _purge
    _all
    *
    _n
    _qsave
    ;
    _purge
    _all
    *
    _n
    _qsave
    ;
    _purge
    _all
    *
    _n
    _qsave
    ;
    _purge
    _all
    *
    _n
    _qsave
    ;
    _purge
    _all
    *
    _n
    _qsave
    ;

  5. #5
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    Quote Originally Posted by michael.byrne
    THAT is what "purgeall" should do. (PURGE-ALL)
    Hi

    "Purge-All" is that my one? If yes, I personally advise you use one of the others that I mentioned earlier.

    What does "Purge-All" do (don't do) when you run it?

    MDT 6 is based on which version of AutoCAD?

    Have a good one, Mike

  6. #6
    Member
    Join Date
    2003-01
    Posts
    4
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    Mike,

    is this getting confusing or what?

    MDT 6 is based on Autocad 2002. The 'Purge-all' I refer to is Autodesks 'purge' then using the all option for blocks, no verification, with purge nested items checked. The result is that ALL nested items do not get purged.

    The routine I pasted above, I wrote as a result of you refering me to the AUGI exchange search pages.

    I have modified the script to cycle 50 times per execution. "Purge-all blocks-nested items" should still work properly and doesn't.......

    Appreciate the dialogue, peace.

    Mike

  7. #7
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: purge all not purging *__ (blocks)

    Hi

    Could you please post a sample drawing file here so "we" can test.

    +

    List which Blocks you expect to be purged (removed) but don't from the sample drawing file.

    Have a good one, Mike

Similar Threads

  1. Finding and purging blocks not created by me
    By Many Irons in forum AutoCAD General
    Replies: 2
    Last Post: 2013-08-19, 07:37 PM
  2. Purging viral blocks
    By SCR73 in forum AMEP General
    Replies: 9
    Last Post: 2009-11-03, 02:23 PM
  3. Purging Blocks in managed code?
    By Ed Jobe in forum Dot Net API
    Replies: 4
    Last Post: 2007-02-06, 11:08 PM
  4. Purging / Removing Blocks from a Template file
    By .chad in forum ACA General
    Replies: 14
    Last Post: 2006-09-26, 12:14 AM
  5. Purging and CDG Purge
    By kparr in forum AutoCAD General
    Replies: 1
    Last Post: 2005-03-17, 02:57 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
  •