+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Forum Newbie
    Using
    Civil 3D 2012
    Join Date
    Jun 2012
    Posts
    1

    Default Search and Replace exploded blocks?

    Registered forum members do not see this ad.

    I have enough experience in Civil 3d to know I am 99% sure there is no way to do this, but I thought I would at least ask. We received a drawing in which every single block has been exploded, they are just a bunch of polylines now. The company we received it from says they don't have a drawing with the original blocks...sure... The long and the short of it is that we need to replace every exploded block with our standard blocks. Is there some crazy way to search and replace a pattern of lines or basically, search and replace the exploded blocks. A lisp routine, anything. There are thousands of exploded blocks by the way, thousands. Any ideas from people who have had similar problems would be greatly appreciated.

    Thanks!

  2. #2
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro 4000, 2GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2013
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    33,031

    Default

    I think as a first step you would somehow have to know the name of the exploded block. But even armed with that information how would you know its point of insertion, scale or rotation angle without an original block to compare it to?
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

  3. #3
    Super Member
    Computer Details
    nestly's Computer Details
    Operating System:
    Windows XP Professional (32bit)
    Motherboard:
    Intel DG33FB
    CPU:
    Intel Core2 E2220 @ 2.4GHz
    RAM:
    4GB DDR2 6400
    Graphics:
    ATI Firepro 5800
    Primary Storage:
    250GB WD 7200rpm / 320GB WD 7200rpm
    Secondary Storage:
    500GB WD external USB
    Monitor:
    Samsung 26" @ 1920x1200 + LG 22" @ 1680x1050
    Using
    AutoCAD 2011
    Join Date
    Sep 2010
    Posts
    1,895

    Default

    I've seen lisps that could locate certain types of objects and insert something or replace those objects with something else, but like ReMark said, scaling and rotating would add another layer of complexity. I'm not saying it couldn't be done if the the object is unique enough to be queried, but I think you'd need the help of someone pretty sharp with lisps. (yes, there are some of them around here at Cadtutor)

    If the objects in the block are somewhat unique, you could use QSELECT to locate them, then change one of their properties so they could be easily located/isolated. (ie color or layer) to help with a more manual solution.

  4. #4
    Forum Deity
    Using
    AutoCAD 2002
    Join Date
    Sep 2006
    Location
    East Sussex, U.K.
    Posts
    2,965

    Default

    Registered forum members do not see this ad.

    Perhaps it might help if you could explain exactly where these blocks were created. Was it from surveyed points? was it from drawing something with Measure ,Divide or Array? or randomly distributed in the drawing?

Similar Threads

  1. Excel / Search and Replace
    By Kemphas in forum AutoCAD General
    Replies: 2
    Last Post: 28th Apr 2012, 04:30 pm
  2. Search and Replace in autoCAD 2010
    By muck in forum AutoCAD General
    Replies: 5
    Last Post: 29th Sep 2011, 03:30 pm
  3. Search and Replace in layers
    By Designer in forum AutoLISP, Visual LISP & DCL
    Replies: 23
    Last Post: 26th Jul 2011, 01:46 pm
  4. Search and Replace Drawing VBA routine?
    By muck in forum .NET, ObjectARX & VBA
    Replies: 3
    Last Post: 5th May 2010, 01:34 pm
  5. Search/Replace
    By 200SX-R in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 12th May 2009, 04:30 pm

Tags for this Thread

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