SIGN IN YOUR ACCOUNT TO HAVE ACCESS TO DIFFERENT FEATURES

FORGOT YOUR PASSWORD?

FORGOT YOUR DETAILS?

AAH, WAIT, I REMEMBER NOW!
QUESTIONS? Contact Us | 866-824-4459

ZenTek ConsultantsZenTek Consultants

  • Services
    • Construction Technology
      • Bluebeam Revu Custom Tools
      • Bluebeam Revu and Microsoft Excel Quantity Linking
      • Managed ConTech Services by ZenTek Consultants
      • Practical Use of Autodesk Construction Cloud
      • Services for Procore
      • Streamlining Manufacturing with Bluebeam
      • TEK Bloks
    • CAD & BIM
      • Autodesk Service Provider
      • BIM Services for Architecture and Engineering
      • BIM Services for Construction
      • CAD Standards Service
      • Civil 3D Kickstart
      • Civil 3D Templates
      • Managed CAD Services by ZenTek Consultants
      • ZenPipe for Civil 3D Pressure Networks
      • TEK Bloks
    • Microsoft
      • Microsoft 365 Implementation
      • Microsoft Teams Services
      • SharePoint Online Services
      • TEK Bloks
    • Government & Public Facilities Services
      • Security & Safety
      • Space Planning & Leasing
      • Facility & Inventory Controls
      • Drafting Support
      • TEK Bloks
  • Training & Support
    • Live Online Courses
      • Upcoming Courses
      • AutoCAD Online Courses
      • AutoCAD Civil 3D Online Courses
      • Autodesk Build Essentials Online Course
      • Autodesk InfraWorks Online Courses
      • Autodesk Revit Online Courses
      • Autodesk Vehicle Tracking Online Courses
      • Autodesk 3ds Max Online Courses
      • Autodesk Navisworks Online Courses
      • Bluebeam Revu Online Courses
      • BricsCAD Online Courses
      • Microsoft Online Courses
      • Primavera P6 Live Online Courses
      • Procore Online Courses
    • On-Demand
      • On-Demand Training Courses
    • Other Training Options
      • Custom/Private Training
      • Training Waitlist
      • Training Reimbursement Resources
    • Support
      • TEK Bloks
      • Support Request
  • Software & Hardware
    • Construction
      • Autodesk Construction Cloud
      • Bluebeam Revu
      • ContractorBI™
      • Matterport Software & Cameras
      • Procore
      • TopBuilder Solutions
    • Design
      • BricsCAD
      • Communicator for BricsCAD
      • BricsCAD Shape
      • Bricsys 24/7
      • SmartDraft Solutions
      • Spatial Manager
      • ZenSurvey
    • Business
      • Microsoft
      • Microsoft Surface Pro 10
    • ZenTek Software
      • ZenEstimate Tools
      • ZenPipe for Civil 3D Pressure Networks
      • ZenTek Revu Tools
  • Resource Center
    • Resources
      • Blog
      • Tips and Tricks
      • The CADDLE Call Podcast
      • The Frozen Layer Podcast (Canada)
      • TekFlow for Construction: Increase Efficiency and Productivity
      • TekFlow for Government and Public Facilities: Better Access to Data
      • Training Reimbursement Resources
    • Events
      • Upcoming Events
      • Live Webinars
      • Watch Now
  • About Us
    • News
    • Careers
    • Contact Us
    • Promotions
  • Shop Now

Gremlins in My Drawing!

ZenTek Consultants
Thursday, 06 October 2022 / Published in AEC, Product Design and Manufacturing

Gremlins in My Drawing!

Purge command

“What is wrong with AutoCAD?  It takes forever to open drawings and forever to save.  My drawings have ballooned to ten times the size they were last week and doing anything in the program is so slow!  When I ask IT for help, they uninstall and reinstall AutoCAD with no improvement. When I tell them the problem isn’t resolved, they uninstall and reinstall once more with, again, no improvement. What is going on?”

I’ve heard variations of this story time after time after visiting the offices of various organizations, even recently over my last 10 years of working as a staff member for engineering firms. What surprised me is that even though the cause of this issue is an age-old problem, it isn’t a problem that has been eliminated from the industry. Using old drawing data that may come from an old block library, templates, or old drawing files is usually the source of the problem. The issue has been known about for many years. The cause of this issue would be unreferenced registered applications, gremlins in AutoCAD, that become a huge problem because they continue to exist unrecognized by some and unacknowledged by others regarding the damage they can do to drawings.

Registered applications are created when a drawing comes into contact with a third-party function. A third-party function comes from third-party software installed on top of AutoCAD. Its commands are available only inside of AutoCAD. A registered application becomes associated with an entity such as a polyline when you ask that third-party software to recognize it as an alignment, for example. This is the way that the third-party software can continue to recognize it as an alignment so it can apply station text, create roadway offsets, or produce another polyline that represents the profile over a surface. Not all third-party applications are harmful and most that are still being used today create no issues.

The registered applications that become a problem are the ones that are no longer being used. Sometimes third-party applications are dropped for others that may be better. Just because you uninstall a third-party application doesn’t mean it goes away. Its registered applications are left behind inside drawings. Even if you take a drawing and delete everything out of it, the register applications still remain. Sometimes these cleaned-up drawings are used for templates, or blocks, or external references. Through this usage, they multiply, spread, and corrupt, causing terrible performance issues and unrecoverable corruption.

At some point in time, Autodesk provided a tool for purging these things out of a drawing in the command line version of Purge; it is not available from the dialog version of Purge. You must type at the command line ‘-purge’. This will trigger a few prompts and then commence to purge all registered applications out of the drawing. The keystroke sequence is:  -purge <enter> r <enter> * <enter> n <enter>. The command line will look something like this:

Purge command

The above image depicts the purge command being executed in a drawing without problems.

Here is the text window of a drawing being purged of harmful registered applications and notice the number of applications deleted:

Deleted applications

Notice the number of applications is exorbitant.

The purged registered applications that are needed will come back when the drawing is opened again as long as the third-party software is present. And other entities previously created by the third-party software will remain. The unreferenced registered applications will not return unless they are originating from an attached external reference.

To completely remove these out of your project, there is a utility Autodesk created that can be downloaded from here. With this tool, you can select a folder full of drawings, and have the registered applications purged out of them and any attached external reference. The best time to do this is at night. If any of the drawings are open during this process, they will not be cleaned since they cannot be saved. The utility comes with installation and operation instructions, and you must be an administrator to install.

The ‘Regapp ID Cleanup Utility’ is launched outside of AutoCAD and a dialog displays.

Option 1

Regapp ID Cleanup Utility’

With Select Folders selected,

  • Browse to the folder containing the drawings.
  • Select the folder, click OK, and the drawings inside that folder will be listed in the dialog.
  • If Include Sub-folders is checked, then all drawings in the sub-folders will also be included.
  • If Include Xref Files is checked, all Xrefs will be listed. This will also set off a chain reaction.  As each file is loaded and purged, if that file has additional Xrefs attached, then those will be added to the list.  So, an initial list of thirty files can grow to three hundred files during the purge process.

Option 2

Regapp ID Cleanup Utility’

With Select Files selected,

  • Browse to the file, select OK, and the file will be listed in the dialog.
  • Repeat as necessary to include other files.

For affected projects, use Option 1. It is the most thorough of the two, but requires to be run overnight since it is hard to determine how many drawings will end up being purged.

Best Practices

  • Do notify all Team members that they must be out of the drawing by the end of the day so the utility can run.
  • Use the Task Scheduler to schedule the utility to run after hours when all team members are finished for the day.
  • After the registered applications are purged, then the drawings should be audited as they are opened thereafter.
  • Any drawings received from clients, consultants, or even other departments should be purged of all registered applications and audited before integrating them into the project.

Eliminating all forms of drawing corruption, including registered applications will keep your drawings healthy. AutoCAD will perform faster with no errors or crashes which will reduce the likelihood that you will be contacting IT to help you resolve issues. Any drawing files you share with clients, contractors, or consultants will not propagate drawing-related gremlins in their drawing sets. Corrupt registered applications will also interfere with the execution of commands in AutoCAD Civil 3D and as well as third-party software. So, cleaning them out of all of your projects should be an essential component of your overall CAD Management process.

 – Cyndy Davenport

What you can read next

The CADDle Call podcast
The Catch 22 in AEC
AutoCAD Civil 3D Grading
Grading with Corridors in AutoCAD Civil 3D®
3 Essential Technologies for a Successful Project

Recent Posts

  • The CADDle Call podcast

    Construction Data Simplified with ContractorBI

  • Construction Forecasting

    Construction Forecasting Done Right: A Key to Successful Project Planning

  • The CADDle Call podcast

    Civil 3D 2026 Release

  • Purge dialog

    Getting Rid of Unwanted Layers

  • The CADDle Call podcast

    Impact of Recent Tariffs on Construction

Categories

Archives

  • Construction Services
  • Government & Public Facilities Services
  • Design Services
  • Online Training
  • Software
  • Government Contracting Specialists
  • About Us

  • Events
  • The CADDle Call Podcast
  • Blog
  • YouTube Channel
  • Promotions
  • Subscribe to Emails
  • Privacy Policy
  • Contact Us
Associated General Contractors of America Member

ACCNJ Member

GBCA Member

Mechanical Contractors Association of Canada (MCAC) Associate Member

Partnering with

Partnering with Autodesk, Bluebeam, BricsCAD, Matterport, Microsoft, Procore, and TopBuilder
  • GET SOCIAL

©2016 - 2025 ZENTEK. LLC 2 University Plaza, Suite 100 Hackensack, NJ 07601 (US) // 620 Nine Mile Drive Suite 208, Bedford, NS B4A 0H4 (CANADA)

TOP
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT