+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Full Member hi-liter's Avatar
    Using
    AutoCAD 2009
    Join Date
    Oct 2008
    Posts
    27

    Default multiple block editing

    Registered forum members do not see this ad.

    i have an architectural drawing created from ARCHICAD (or whatever) anyway the blocks are terrible. lets say i have nearly 1000 blocks as each door (and so on) is a different block. i would like to 'clean' the drawing to our standards. Is there a way to get all or a selected portion of blocks to modify properties together; either change every individual door block to bylayer or change the layer or color?

  2. #2
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    this may help... look here for Fixblock.lsp
    http://www.manusoft.com/Software/Freebies/Main.stm

  3. #3
    Full Member hi-liter's Avatar
    Using
    AutoCAD 2009
    Join Date
    Oct 2008
    Posts
    27

    Default

    It Does Not Appear That Would Support My Programs Of 02 & 09 But Thanks

  4. #4
    Senior Member
    Using
    AutoCAD 2000
    Join Date
    Nov 2008
    Posts
    182

    Default

    Autocad 09 has this capability to filter layer. Go to layer manager and see upper left portion. It can isolate layers with similarities at one click. And from there editing them is easier.

  5. #5
    Forum Deity
    Using
    Civil 3D 2013
    Join Date
    Dec 2005
    Location
    GEELONG AUSTRALIA
    Posts
    3,791

    Default Editing blocks

    Here is some code that changes the linetype in a block the linetype is a non Autocad linetype hence the change.

    The code came from the forum here so I am sure you could change it to do Bylayer or set colour and layer

    Code:
     (vl-load-com) 
      (setq adoc (vla-get-activedocument (vlax-get-acad-object))) 
      (vla-startundomark adoc) 
      (vlax-for block (vla-get-blocks adoc) 
        (if   (not (wcmatch (strcase (vla-get-name block) t) "*_space*")) 
          (vlax-for   ent block 
     
    (if  (= (vla-get-linetype ent ) "solid" ) 
    (progn
    (vla-put-linetype ent "Continuous")
    (princ (vla-get-name block))
    )
    );_ end of if
    
       ) ;_ end of vlax-for 
          ) ;_ end of if 
        ) ;_ end of vlax-for 
      (vla-regen adoc acactiveviewport) 
      (vla-endundomark adoc) 
      (princ)

  6. #6
    Full Member hi-liter's Avatar
    Using
    AutoCAD 2009
    Join Date
    Oct 2008
    Posts
    27

    Default

    THANKS FOR THE RESPONSES.......I AM LOOKING FOR LIKE A BATCH CONVERSION, WHERE I CAN DO A NUMBER OF DIFFERENTLY NAMED BLOCK(EDITS)S ALL AT ONCE FOR EXAMPLE: BLOCK "1" IS ON "A" COLOR BUT "1a" LAYER AND WHILE BLOCK "2" IS ON "B" COLOR AND ALSO ON "1a" LAYER.

    WHAT I WANT TO DO IS CHANGE THE PROPERTIES OF BOTH BLOCKS (I HAVE LIKE 1000 HERE) OR ALL BLOCKS FROM COLOR "X" TO BYLAYER WITHIN THE BLOCK. SORT OF LIKE A MULTI-BLOCK EDIT COMMAND OR SOMETHING.

    IF THAT CODE IS WHAT I AM LOOKING FOR I APOLOGIZE I AM WONDERING IF I HAVE ONCE AGAIN EXPLAINED THINGS TERRIBLY

  7. #7
    Super Member
    Computer Details
    wannabe's Computer Details
    Operating System:
    XP
    Using
    AutoCAD 2007
    Join Date
    Oct 2008
    Location
    Birmingham, UK
    Posts
    772

    Default

    So you want to change the properties of all blocks to set their colour and linetype bylayer?

  8. #8
    Full Member hi-liter's Avatar
    Using
    AutoCAD 2009
    Join Date
    Oct 2008
    Posts
    27

    Default

    Registered forum members do not see this ad.

    Layer Translator!!!!! I Have Just Increased My Productivity By 300%

Similar Threads

  1. Editing Multiple drawings
    By CROSSTIE in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 28th Oct 2008, 09:57 pm
  2. Editing Attributes at once in multiple layouts
    By Lucid in forum AutoCAD Drawing Management & Output
    Replies: 7
    Last Post: 23rd Oct 2007, 02:46 pm
  3. Block Editing.
    By Johnnyfive in forum AutoCAD General
    Replies: 7
    Last Post: 14th May 2007, 07:31 pm
  4. block editing
    By VICKI in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 26th Apr 2005, 09:01 am
  5. Block editing
    By Skeeps in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 28th Apr 2004, 02:14 pm

Bookmarks

Posting Permissions

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