by Dennis Collin
Problematic drawings can be a real bane for any office using AutoCAD. The time lost for slow save and load times, crashing files or random undesired objects that stubbornly remain with a drawing, despite a user’s best efforts.
Fig 1. The last thing users want to see before a critical deadline!
The Drawing Recovery Manager is an invaluable tool to get users back on their feet after an AutoCAD crash. This command will run immediately once AutoCAD has been restarted after a crash, but although it (usually!) finds the latest backup and temporary save files it doesn’t fix the underlying causes of the error. Therefore, if problems occur repeatedly, it’s time to do a file health check and repair!
Fig 2. AutoCAD’s drawing recovery manager provides an easy way to regain one’s footing!
I am often asked why do drawings get corrupted? It can be down to several factors including failing hardware on the authoring workstation, intermittent network issues, elements created by obsolete or poorly tested third-party add-ons, or perhaps even a computer virus! The bottom line is that these factors are often beyond the recipient’s control and a quick fast and simple fix is required to complete the job at hand.
Fortunately, the full AutoCAD and its LT sibling have a few tools that can hopefully resolve these issues.
Fig 3. AutoCAD’s Audit command can fix many issues.
The first function to mention is the AUDIT command. This command is like a personal health check for your ailing drawing. Accessed from the application menu, or via the command line, the Audit command will check and fix, if prompted, various aspects of the drawing file. Upon completion it should report several problems found and fixed. Ideally this number should be zero, but if not, then the drawing should be saved, and the audit command repeated until this is the case. In most instances the drawing will be clean and report zero errors after two to three sessions.
Sometimes a drawing will report problems upon opening, or perhaps an external reference file doesn’t display in the main file or bind as an embedded copy. For this situation we also have the RECOVER command which like Audit, performs a health check on a drawing file but as the drawing is opened.
Fig 4. The Recover command is an option when the drawing file won’t even open!
The RECOVER WITH XREFS command extends the regular Recover command to audit and repair not just the host drawing, but all its reference files as well. This can be very useful midway through a project when file management and linking of data is at an advanced stage.
In some situations, problems persist. If this is the case another command that can prove useful is the WBLOCK command. This command is a little bit like the Windows copy and paste function and will write those select elements out to a new and hopefully cleaned version of your drawing.
Fig 5. Accessing the Write Block (WBLOCK) function.
Accessing Wblock can be either from the command line or the Insert tab of the AutoCAD ribbon menu. This will bring a screen which will grant users a range of options to transfer. I normally will use the ‘select objects’ option and write those elements to a new file, hopefully leaving the ‘corrupted’ aspects of the drawing behind. NB: before doing this task ensure the appropriate layers have been switched on for selection, otherwise some critical information may be lost!
Fig 6. The Wblock function saves a drawing to a new file (in whole or part)
The copy and paste functions are an alternative option to the WBlock command. For this to work, ensure the correct template has been selected to copy to. Select the desired elements, press ‘CTRL+C’, switch to the clean target drawing and paste (CTRL+V) and if coordinates are critical, use the paste ‘to original coordinates’ for consistency. If the standard Windows shortcut keys are unfamiliar then many of the options are available in a right click menu fly-out as shown below.
NB. This method does not respect AutoCAD file units, and therefore should be used with this fact in mind! The native AutoCAD Block options do respect unit settings.
Fig 7. Copy and Paste can also be used to transfer information between files.
If all these attempts still yield no results, then our ‘nuclear’ option would be the saving of the drawing file (assuming it can be opened) to an old R12 (DOS) version of DXF.
WARNING: Performing this task will mean that multiple layout tabs will be lost, as the R12 file format only supported one layout tab. Also be aware that any 3rd part proxies, annotative elements, dynamic blocks, and other elements will be simplified and/or deleted so it is strongly recommended to check this drawing post export to ensure that all required data has survived the trip. If necessary, once cleaned, the additional layouts and styles can be reintroduced by the Designcentre. If there is any doubt do, make a backup copy first!
Fig 8. Saving a file as a 1991 version R12 DXF, simplfies a drawing a simple component parts.
Bear in mind that this last method is rather an extreme method and should only be used as a last resort, but between these methods, I have been able to recover almost all corrupted drawings that are raised in support cases using a combination of all these techniques.
A lot of these processes are covered on our standard scheduled AutoCAD courses, bespoke workshops or ‘at elbow days’. For more information visit https://arkance.world/gb-en/training or ask a question on the Live Chat facility where we can provide more help.
Comentarios (0 comentarios)