Due to a supplier no longer making a part I must change a part number on hundreds of existing drawings. The catalog number must be changed for the item, and in the BOM on the drawing. Is anyone aware of a way to do this automatically?
First step is to make sure the new part number is in the catalog database.
If these drawings are in one project this could go quick, but if it are several projects it could take some more time.
You have several options:
1) update with Access the project(s) scratch database and use the "Update from Project Scratch Database". Don't know if it will update the BOM on a drawing directly, don't think so.
2) write a script and use the "Project-Wide Utilities" to start it in a project
3) use the export to excel on components. Adjust your value and reimport it. Don't know if it will update the BOM on a drawing directly, don't think so.
4) modify this utility from Nate Holt to change the attributes you want it to change.
Scripts are actually nothing else than plain autocad commands which will be run after each other.
Here below you can see an example for changing attributes:
You need to make it with notepad and the extension is .SCR. In the help of autocad type "script" and there you also can find info. Also googeling arround can help you.
You can also open drawings with it, adjust, and save.
Most of the commands you will need to put an "-" in front to invoke command line execution.
Best practice is to open a drawing and stat ajusting it with the command line commands, note them down. Don't save the drawing, close it make the scr file and run the script to try.
If ok, then you can use it to open more drawings and adjust them. This means that for every drawing you must repeat all the commands in the script.
If you google arround, think you can even find script generators, where you provide the script for one drawing, they can process it for the drawings you provide. (google for "autocad scripts batch")