TrustedDWG: Exploring the Features and Benefits of AutoCAD

Learning

TrustedDWG is a key function of AutoCAD and AutoCAD LT that analyzes DWG files as they are being opened. The function checks to see if the DWG file was last saved with an Autodesk product or by a software developer who is licensed to use the RealDWG toolkit. If the file does not pass the TrustedDWG analysis, it will inform you in various ways that the DWG file may not be compatible, nor guarantee its integrity when used with AutoCAD or AutoCAD LT. So, let’s take a look at how to get the most out of this core benefit.

How AutoCAD or AutoCAD LT Alerts You

The visibility of these warnings is controlled by the DWGCHECK system variable. DWGCHECK is an integer variable, and is saved in the registry — not each drawing. By default, DWGCHECK is set to 1. There are 8 different states that can be set and which determine what type of alert is or isn’t displayed. We’ll be looking at the alerts that you’ll see in the default setting of 1.

First, upon opening a DWG file that was last saved from a non-Autodesk product, you’ll get the following dialog box:

AutoCAD TrustedDWG

You’ll have the opportunity to open the file or to cancel. If you choose to check the “Always open DWG files” option, it will not change the setting of DWGCHECK, but instead, will simply hide this dialog box. You can change this setting (or any hidden message) via the Settings tab in the Options dialog box.

AutoCAD TrustedDWG

Important Note: Once a non-Autodesk DWG is opened and then SAVED, it will then pass the TrustedDWG test function, so it’s always a good idea to check the drawing carefully for any missing entities or data before saving.

Additional Alerts

In addition to the alert message, the AutoCAD command line will also warn you of a non-compliant DWG file. While opening, one of the following messages will appear:

AutoCAD TrustedDWG

The top message alerts you that the DWG file did not pass the TrustedDWG test. The bottom message will display if it finds that it was last saved by an Autodesk product.

If you choose to open a DWG file that doesn’t pass TrustedDWG, you will also see a warning icon in the system tray of AutoCAD or AutoCAD LT. Hovering over the icon will display the warning seen below. It is yet another visual reminder to carefully check the contents of the DWG file before saving, in order to ensure its integrity.

AutoCAD TrustedDWG

More on TrustedDWG

About Opening Drawings

What is a DWG?

What is TrustedDWG?

The DWGCHECK system variable

The RealDWG SDK

Keep Exploring

Want to learn more? Check out all the benefits of AutoCAD on our Featurespage; troubleshoot and get the details on previous software versions over on the AutodeskKnowledgeNetwork; or take a look at all entries in our series, ExploringtheFeaturesandBenefitsofAutoCAD.



Frank Mayfield

Frank has worked in various design and CAD Management roles with AutoCAD and Autodesk software since 1986 (v2.62). He is currently a Design Technology Consultant in Tulsa, OK. He also serves as Vice President on the AUGI Board of Directors and is a member of numerous Autodesk user panels. As a top-rated mentor for trial users of AutoCAD 2018 and AutoCAD LT 2018, he has provided live, real-time guidance and support for over 2,500 new users in more than 50 countries worldwide. He currently serves on the AUGI Board of Directors and is a member of numerous Autodesk user panels.

Try AutoCAD free for 30 days

Related Articles

  • AutoCAD Centerline
    Learning
    We’re excited to share a new Have You Tried article this month.  It’s all about center marks and centerlines.  Have you ever needed to mark the center of an arc or circle? How about needing to draw a line at the apparent midpoint between two lines or polylines. I’m sure you have. There are two […]

  • AutoCAD Floating Windows Feature
    Learning
    One of the most popular new features that was introduced in AutoCAD 2022 (and improved upon in 2023), is being able to pull your file tab off the main interface, creating a separate floating window. If the benefit of a floating window isn’t immediately apparent to you, let me explain how it can help you […]

  • MText Feature
    Learning
    For the Have You Tried this month, let’s take a deep dive into formatting a multiline text object (also referred to as MText). Text is one of the most common annotations that you add to a drawing. Creating text in AutoCAD might be intuitive, but editing and formatting text can take time. In this Have You Tried, […]

Comments Closed

There are no comments