• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    AutoCAD 2011

    Reply
    Contributor
    Posts: 11
    Registered: 01-25-2010

    Batch Replace Blocks

    79 Views, 1 Replies
    02-22-2012 08:57 AM

    Hi All,

    We've recently converted all our microstation drawings to autocad now that the company has decided to go with one cad program company wide.

     

    One of the issues we are having after getting the drawings back from the this co. converting them is the cells to blocks convertion inside the drawing.

     

    when we open a drawing and see a "Fuse" block for instance and if it a has multiple inserts, it named them:

    Fuse

    Fuse_1

    Fuse_2 etc....

     

    is there a lisp routine or some command that would replace the "Fuse_*" blocks with "Fuse"

    I've been searching the forums and know about the express tool Replace Block but need to be able to automate somehow.

    I thought about trying to rename each of the "Fuse_*" but of course it won't let you rename to a block name that already exists...thanks in advance for any help!!

    GO Texans!!!
    ****Sage
    Posts: 9,780
    Registered: 11-06-2003

    Re: Batch Replace Blocks

    02-22-2012 10:56 AM in reply to: Nero1960

    While you wait here... LISP requests are best sought in the Customization Discussion area:
    http://forums.autodesk.com/t5/Visual-LISP-AutoLISP-and-General/bd-p/130

    Please mark any response as "Accept as Solution" if it answers your question.
    -----------------------------------------------------------------------------------------------

    Dean Saadallah

    http://LTisACAD.blogspot.com
    RSS: http://ltisacad.blogspot.com/feeds/posts/default
    Twitter: http://twitter.com/LTisACAD
    Pinterest: http://pinterest.com/pendeaninc/pins/
    --