I'm working in ACAD 2011 and have a drawing with multiple blocks (block '1') that need to be replaced with new block '2'. Is there any utility for replace the block with new block in multiple files?
Thanks in advance!
|
I'm working in ACAD 2011 and have a drawing with multiple blocks (block '1') that need to be replaced with new block '2'. Is there any utility for replace the block with new block in multiple files?
Thanks in advance!
There isn't really an in-built tool for that.
Try using this class handout to automate the procedure:
http://forums.augi.com/showthread.ph...ngs-in-a-Hurry
There are three sample exercises in that class, look for the 2nd one.
Melanie Stone
@MistresDorkness
Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
Technical Editornot all those who wander are lost
If you have any trouble with your code, I'm sure the folks in the customization and programming forums will be able to help you out.
http://forums.augi.com/forumdisplay....-Customization
http://forums.augi.com/forumdisplay.php?91-AutoLISP
Melanie Stone
@MistresDorkness
Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
Technical Editornot all those who wander are lost
Do you want to replace all instances of Block1 with Block2? If so, the Express Tools Replace Block tool (Express Tools ribbon tab, Blocks panel), should work for you.
Melanie Stone
@MistresDorkness
Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
Technical Editornot all those who wander are lost
Melanie Stone
@MistresDorkness
Archibus, FMS/FMInteract and AutoCAD Expert (I use BricsCAD, Revit, Tandem, and Planon, too)
Technical Editornot all those who wander are lost
You can use script. I have used that along with the visual lisp function to collect all of the file names in a directory to
open drawing
load necessary lisp files
run lisp files
save
close
go on to the next drawing
you could
open
replace block
save
close
etc