When opening a drawing, you might receive an error message like this one:
Land F/X has detected corruption in this file, which could harm the integrity of F/X objects.
If so, take note of the number of corrupt objects Land F/X detects.
This issue is the result of drawing corruption, which can be caused by an overabundance of objects known as Registered Applications, or RegApps. Although RegApps are integral to the ability of Land F/X to function within CAD, a flaw in their basic design structure can cause them to accumulate in this way.
In almost all cases, the problem will be springing from RegApps in external references (Xrefs) that are attached to your drawing.
Drawing corruption is not an issue that originates with our software, although you might certainly encounter it when using our software. It's the result of AutoCAD objects that can be present in any drawing, and often originate in files created by consultants outside the realm of landscape architecture and irrigation design. (If anything, it's our software that is detecting and warning you about this potentially devastating issue.)For more detailed information on drawing corruption and its causes, see our Drawing Corruption Explained article.
Although we understand it can be somewhat irritating to see this warning pop up time and time again when you open a drawing file, we assure you that it's anything but a nuisance. It's a legitimate warning that, at any point, any number of the Land F/X objects in your plan may become nothing more than plain AutoCAD entities – that is, lose all their assigned data. We have had clients with entire sheet sets of detail callouts wiped out in this manner, for example, as the common Xref was present in all sheet files. Others have had seemingly random numbers of plants suddenly stop being plants. Or entire irrigation plans that were now unresponsive. That's hardly a loss in functionality – it's a virus-like issue that can cause literally days of downtime.
The hope is that we can instill an appreciation (and healthy fear) of the massive cost associated with needing to re-create an entire plan. Even if it takes an hour to locate the source of drawing corruption and address it, it's time well spent – plus it's a fraction of the time required to reverse the effects of a massively corrupt drawing.
The issue is most likely springing from your Xrefs. To correct the problem, you'll need to physically open each Xref and perform one of the following actions on your main drawing and each Xref (including any nested Xrefs), as well as any details you've placed in the drawing or Xrefs:
It's IMPERATIVE to recognize that the problematic RegApps will most likely be in your Xrefs, rather than in the main drawing. This means you need to clean the excessive RegApps from your Xrefs – not just from the drawing itself.
The DelRegApps Command
Our Nuke tool and manual drawing steps (linked above) both incorporate the DelRegApps command, and both of these options are generally preferable to only running DelRegApps – simply because either one will do much more than DelRegApps to repair a corrupt drawing. However, in some cases, you might prefer to run DelRegApps.
You can also delete corrupt RegApps from a number of files at once by running the Land F/X BatchMan tool with the Purge+ box checked.
Remember: You'll need to run this command individually on:
- Your main drawing
- All Xrefs you've attached to the main drawing (remember to detach them first)
- All detail drawings containing details you've placed in your drawing or the Xrefs
1. Type XREF in the Command line, then press Enter.
2. The Xref Manager will open, listing all Xrefs in the current drawing.
Double-click an Xref to open it.
Although you'll want to delete the RegApps from every single Xref in the drawing, note that the Xrefs with large file sizes (more than a couple of megabytes) are the likely culprits causing the error.
3. Type DelRegApps in the Command line, then press Enter. Land F/X will delete the excessive RegApps from the file, and the Command line will show the number of RegApps that have been deleted.
4. Repeat these steps for the remainder of Xrefs shown in the Xref Manager to delete the rest of the RegApps from your drawing.
Have you cleaned all files and Xrefs, and the RegApp warning keeps appearing? What about your details? You'll also need to edit each and every one of your detail drawings and clean those drawings as well.
What If I Don't Have Access to All Xrefs?
In a large multi-discipline office, it's quite common that Xrefs will be attached with full paths to the original files prepared by the civil or other discipline. Those files are commonly updated at irregular times, making it difficult to know when each file has been changed. In these cases, it's imperative to communicate with your colleagues in the other disciplines so they can clean the files themselves.
Civils will usually not have access to software as helpful as Land F/X, so they may not be receiving automatic reminders that they are sending out infected files.
It's also important to recognize that the software responsible for this issue has been out of production for more than a decade, yet these infections are still common. So it's obviously extremely virulent, if not a true virus.
This Is Happening With Every File!
If the DelRegApps warning is occurring on every file, it could be that a file such as the drawing containing your standard title block is actually causing the infection.
We recommend "etransmitting" the drawing set to a separate location, so you can then sort all the Xrefs by file size, and then methodically determine the source of the infection.
How Can I Prevent This Error in the Future?
In short, you can prevent this issue by implementing our drawing corruption prevention strategies as an office-wide standard.
This includes cleaning each of your drawings (including Xrefs) as you receive them. It's important to note that excessive RegApps can spread from one drawing to another – in the act of Xrefing a file, or even when you have a corrupted drawing open when you open another drawing.
You are also free to use the cleanup utility provided by Autodesk for the following AutoCAD versions:
Moving forward, it's absolutely imperative that Xrefs undergo a quarantine process and are thoroughly cleaned before you Xref them into production drawings and details. You simply don't have the time to fix the problems that arise when drawing corruption has spread not only through an entire drawing set, but through all associated details as well.